I mentioned elsewhere I stumbled onto a debounce-method that was 'different'. I finally have the article published HERE.
It reveals a Fast Response, Smart Button Debounce that uses (not a lot of code). Instead, a Timer-ISR supports one or more Button-ISRs to track out Human-Induced variations. In the bargain, bounce-caused Interrupts are quick-exited -- using much less CPU time. In fact, all debounce and Button=hold tracking is handled in ISR's. The CPU has more time to do its job in main code.
Created: Dec 28, 2024 Updated: Dec 28, 2024 |