Debounced switch at end of cycle

This commit is contained in:
sven 2021-04-18 10:20:47 +02:00
parent f792080b8c
commit 18e2d9ceaf

View file

@ -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;
} }