Debouncing and State Machines
Turn messy real-world inputs into clean events: why mechanical switches bounce, hardware and software debouncing, edge detection and long-press detection, and how to structure non-blocking firmware as a finite state machine with states, events and transitions, including a traffic light and a button handler.
Debouncing and State Machines
Turn messy real-world inputs into clean events: why mechanical switches bounce, hardware and software debouncing, edge detection and long-press detection, and how to structure non-blocking firmware as a finite state machine with states, events and transitions, including a traffic light and a button handler.
In this lesson:
- debounce
- state machine
- edge detection
- long press
- enum
- switch case
- non-blocking
- finite state machine
Official References
This lesson is part of a paid plan
Upgrade to Pro to unlock this course, its labs and its exam.
View Pricing Plans