#fix inversion état relais
This commit is contained in:
parent
bc904d4f01
commit
62211f3226
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user