modifs scribeSD vRotMoyen
This commit is contained in:
parent
f34b691ed4
commit
bef81e1b6d
7
.vscode/settings.json
vendored
Normal file
7
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"files.associations": {
|
||||
"bitset": "cpp",
|
||||
"fstream": "cpp",
|
||||
"ostream": "cpp"
|
||||
}
|
||||
}
|
|
@ -414,10 +414,10 @@ void scribe_sd (){
|
|||
|
||||
if ( sem_scribe == true && chrono_scribe >= inter_ecriture ){
|
||||
//Serial.println("balise scribe");
|
||||
int vRotMoyen = count*60000/(pptr*chrono_scribe);
|
||||
char timestamp[] = "YY-MM-DD-hh:mm:ss";
|
||||
char *horodatage = now.toString(timestamp);
|
||||
char buffer[64];
|
||||
int vRotMoyen = count*60000/(pptr*chrono_scribe);
|
||||
snprintf(buffer, sizeof buffer, "%d", vRotMoyen);
|
||||
appendFile(SD, fichier, horodatage);
|
||||
appendFile(SD, fichier, " " );
|
||||
|
|
Loading…
Reference in a new issue