changements compte-tour & scribe
This commit is contained in:
parent
2a23b3cde1
commit
f17b510289
|
@ -336,9 +336,10 @@ void scribe_sd (){
|
||||||
pcnt_counter_clear(PCNT_TEST_UNIT);
|
pcnt_counter_clear(PCNT_TEST_UNIT);
|
||||||
pcnt_counter_resume(PCNT_TEST_UNIT);
|
pcnt_counter_resume(PCNT_TEST_UNIT);
|
||||||
start_chrono_scribe = millis();
|
start_chrono_scribe = millis();
|
||||||
Serial.println("balise sem scribe");
|
|
||||||
}
|
}
|
||||||
if ( sem_scribe == true && (millis() - start_chrono_scribe) >= intervalle_d_ecriture ){
|
if ( sem_scribe == true && (millis() - start_chrono_scribe) >= intervalle_d_ecriture ){
|
||||||
|
Serial.println("balise scribe");
|
||||||
char timestamp[] = "YY-MM-DD-hh:mm:ss";
|
char timestamp[] = "YY-MM-DD-hh:mm:ss";
|
||||||
char *horodatage = now.toString(timestamp);
|
char *horodatage = now.toString(timestamp);
|
||||||
char buffer[64];
|
char buffer[64];
|
||||||
|
|
Loading…
Reference in a new issue