Raspberry Pi Pico practice problem · Raspberry Pi Pico
Kitchen timer
HardBudget $21MicroPython
A kitchen timer with an OLED, a buzzer on GP13 and a button on GP12.
- Press once: the screen says TIMER and a 3 s countdown starts.
- When it ends, the buzzer plays 1000 Hz at about 50 % duty until...
- ...the button is pressed again: buzzer off, screen back to READY.
The buzzer is silent while the timer waits. Print start when the timer starts and stop when the second press clears it.