My understanding is that GPIOs are split into multiple ‘ports’. Each port has 32 GPIOs. So if you wish to (say) control the LED on GPIOC24 you would use GPIO2 base address.
The above example blinks the on-board LED 5 times.
My understanding is that GPIOs are split into multiple ‘ports’. Each port has 32 GPIOs. So if you wish to (say) control the LED on GPIOC24 you would use GPIO2 base address.
The above example blinks the on-board LED 5 times.