raschemmel:
Here is a video of your current iteration code:
Yeah, cute - though I can't quite discern what sort of Arduino is in there - not that it matters; I happen to be using a Pro Mini and one of the LEDs I grabbed happens to be a laser!
Quite so. I found "bool" does not exist in the IDE - I was rather put off and distracted by that to start with, but "boolean" works. Done.
Now one of the intentions in my approach is to encapsulate the timing functions, so that rather than stepping the timer reference point down there later amongst the consequent actions, it happens within "timeout".
Next, the debounced button event ...