Raspberry Pi Pico practice problem · Raspberry Pi Pico
Press counter on screen
HardBudget $17MicroPython
Each press of the button on GP12 increments a counter, draws the number on the OLED and prints it:
1
2
3
Start by showing 0. Debounce the button.