debounce question: introduce delayed action

UKHeliBob:
Agreed, but the context of this thread is controlling LEDs

Other circumstances will require different solutions.

Fully agree! My last comment is not related to the thread title.