Raspberry Pi Pico practice problem · Raspberry Pi Pico
Short or long?
MediumBudget $3MicroPython
The button on GP12 can be tapped or held. Print short when it was released before half a second, and long when it was held for half a second or more.
One word per press, on its own line.