Last month we asked you to send in your debounce code. You didn’t disappoint and it’s time to share the code ... guarantees that this code is safe to use, or that it even works.
The strategy with this debounce method is not simply to use a single ISR for the button input, but to activate a second timer-based ISR at that time that runs at a certain interval which ...