sync
This commit is contained in:
parent
2ea5e9cd1f
commit
2b865d8e5c
|
@ -320,10 +320,10 @@ void sd_init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
now = rtc.now();
|
now = rtc.now();
|
||||||
char date_format[] = "MM-DD-hh-mm";
|
char date_format[12] = "MM-DD-hh-mm";
|
||||||
char *date = now.toString(date_format);
|
char *date = now.toString(date_format);
|
||||||
strcat(fichier,date);
|
strcat(fichier,date);
|
||||||
char entete[] = "# YY-MM-DD:hh:mm:ss Vrot en tr/min \n";
|
char entete[64] = "# YY-MM-DD:hh:mm:ss Vrot en tr/min \n";
|
||||||
writeFile(SD, fichier, "capteur n° ");
|
writeFile(SD, fichier, "capteur n° ");
|
||||||
appendFile(SD, fichier, numero_capteur );
|
appendFile(SD, fichier, numero_capteur );
|
||||||
appendFile(SD, fichier, "\n");
|
appendFile(SD, fichier, "\n");
|
||||||
|
|
Loading…
Reference in a new issue