Compare commits

...

2 Commits

Author SHA1 Message Date
fa3ef62e00 fallback 2023-10-20 23:19:54 +02:00
62211f3226 #fix inversion état relais 2023-10-20 16:14:44 +02:00

View File

@ -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) {