#fix inversion état relais

This commit is contained in:
Laurent Claude 2023-10-20 16:14:44 +02:00
parent bc904d4f01
commit 62211f3226

View File

@ -130,7 +130,7 @@ void loop() {
} // if
}
if (digitalRead(ENCROT_BP) && (currentMillis - LastReadBP > 250)){
if (!digitalRead(ENCROT_BP) && (currentMillis - LastReadBP > 250)){
LastReadBP = currentMillis;
statutDecompte = !statutDecompte;
if (statutDecompte) {