From fa3ef62e0036be0f8de5e78c533e4b032f4b5b34 Mon Sep 17 00:00:00 2001 From: Laurent Claude Date: Fri, 20 Oct 2023 23:19:54 +0200 Subject: [PATCH] fallback --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index ecadd8d..28041af 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -130,7 +130,7 @@ void loop() { } // if } - if (!digitalRead(ENCROT_BP) && (currentMillis - LastReadBP > 250)){ + if (!digitalRead(ENCROT_BP) && (currentMillis - LastReadBP > 850)){ LastReadBP = currentMillis; statutDecompte = !statutDecompte; if (statutDecompte) {