Interrupts: Responding to Events Instantly
React to fast or rare events without polling: what an interrupt is, attachInterrupt with RISING, FALLING and CHANGE, interrupt-capable pins, the rules for writing an interrupt service routine, volatile variables and atomic access, the flag pattern, counting pulses for frequency, RPM and flow, ISR load and debouncing in an ISR.
Interrupts: Responding to Events Instantly
React to fast or rare events without polling: what an interrupt is, attachInterrupt with RISING, FALLING and CHANGE, interrupt-capable pins, the rules for writing an interrupt service routine, volatile variables and atomic access, the flag pattern, counting pulses for frequency, RPM and flow, ISR load and debouncing in an ISR.
In this lesson:
- interrupt
- isr
- attachinterrupt
- volatile
- atomic
- pulse counting
- rpm
- latency
- race condition
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