From f17b5102894c9c5f1b7e2068af1d96db6cbe497d Mon Sep 17 00:00:00 2001 From: pgp Date: Mon, 1 Feb 2021 18:20:40 +0100 Subject: [PATCH] changements compte-tour & scribe --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 79f6048..5afaec4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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];