Debounced switch at end of cycle
This commit is contained in:
parent
f792080b8c
commit
18e2d9ceaf
|
@ -183,6 +183,7 @@ void loop() {
|
||||||
previousMillisEti = currentMillisEti;
|
previousMillisEti = currentMillisEti;
|
||||||
}
|
}
|
||||||
if (run == 0 && digitalRead(11) == HIGH){
|
if (run == 0 && digitalRead(11) == HIGH){
|
||||||
|
delay(100);
|
||||||
finish = 1;
|
finish = 1;
|
||||||
gapDetected = 0;
|
gapDetected = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue