Arduino Blink

I don’t know if this is documented anywhere.

For those who want to try the classic Arduino Blink example, the Arduino GPIO for the USER LED is 31.

This is handy, worth mentioning also that the LED_BUILTIN macro is set for that LED as well.

I’d forgotten about LED_BUILTIN - that would have saved me interating through 32 GPIOS to find the one that worked!

2 Likes