changements compte-tour & scribe

This commit is contained in:
pgp 2021-02-01 18:20:40 +01:00
parent 2a23b3cde1
commit f17b510289

View file

@ -336,9 +336,10 @@ void scribe_sd (){
pcnt_counter_clear(PCNT_TEST_UNIT);
pcnt_counter_resume(PCNT_TEST_UNIT);
start_chrono_scribe = millis();
Serial.println("balise sem scribe");
}
if ( sem_scribe == true && (millis() - start_chrono_scribe) >= intervalle_d_ecriture ){
Serial.println("balise scribe");
char timestamp[] = "YY-MM-DD-hh:mm:ss";
char *horodatage = now.toString(timestamp);
char buffer[64];