Raspberry Pi Pico practice problem · Raspberry Pi Pico
Three-mode light
MediumBudget $4MicroPython
One button on GP12, one LED on GP13. Each debounced press moves to the next mode:
- off
- blinking — 0.25 s on, 0.25 s off
- steady on
- back to off
The test starts from off and presses three times.