Add the yellow line
// if it's been 10secs since we started timing reset the flag
if (millis () > time_but_pressed + 10 * 1000) {
[glow] button_state == HIGH;[/glow]
timing = FALSE;
}
Add the yellow line
// if it's been 10secs since we started timing reset the flag
if (millis () > time_but_pressed + 10 * 1000) {
[glow] button_state == HIGH;[/glow]
timing = FALSE;
}