Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Interrupts

Like a crying child, some things just need your attention right away.

Outline

Exercises

  1. Utilize interrupts to keep track of encoder steps. Create a separate source file that encapsulates your encoder functionality and expose the current encoder steps with a function that has the following signature: uint32_t encoder_steps(void).