Skip to main content

Section 1.4 Day 2 In-Class: External LEDs and delay_ms()

Today we’ll replace the delay loop with a delay_ms() function, wire external LEDs on the breadboard, and measure voltages and currents with the digital multimeter (DMM). We’ll finish by starting Lab 1.
For a deeper look at how a write to GPIOA->ODR physically changes a pin voltage (the processor pipeline, memory map, and GPIO output circuit), read Section 1.6 at any point.