commit du dimanche
This commit is contained in:
4
essai.c
4
essai.c
@@ -61,7 +61,7 @@ for (idx=0; idx<nbloops; idx++) {
|
||||
/* here we are trying to log all that temps values */
|
||||
if (NULL!=fp) {
|
||||
temps = time(NULL);
|
||||
if ((temps-old_temps) > 60) {
|
||||
if ((temps-old_temps) > 50) {
|
||||
fprintf(fp, "%ld %f %f %f %f\n", temps,
|
||||
Fdatas[0], Fdatas[1], Fdatas[2], Fdatas[3]);
|
||||
fflush(fp);
|
||||
@@ -121,7 +121,7 @@ nonl(); cbreak(); noecho();
|
||||
keypad(stdscr, TRUE); /* acces aux touches 'curseur' */
|
||||
fond_ecran(" Demonstrator ");
|
||||
|
||||
affiche_valeurs(serial_in, 10000);
|
||||
affiche_valeurs(serial_in, 5000000);
|
||||
|
||||
/*
|
||||
* plop, on a fini, il faut restaurer la console
|
||||
|
||||
Reference in New Issue
Block a user