Part 2: GPIO

~60-75 min

Time to get hands-on. In this module, you'll apply the Instantiate → Configure → Control pattern to GPIO - the most fundamental peripheral on any microcontroller.

You'll start with a live demo walkthrough, then use the documentation to navigate and adapt examples on your own.

What You'll Do

  1. Exercise A: Blinky - find the blinky example in esp-hal docs, adapt it to the uFerris LED pin
  2. Exercise B: Button Input - find the Input abstraction, configure pull-up, detect a button press
  3. Exercise C: Alternative Blink - find a different way to achieve the same blink behavior, without using the same approach as Exercise A
  4. Cross-HAL Comparison - inspect how rp2040-hal and stm32f4xx-hal handle the same GPIO tasks