Raspberry Pi Pico practice problem · Raspberry Pi Pico
Two-floor lift
HardBudget $12MicroPython
A servo on GP16 is a two-floor lift. Button GP12 calls it to the ground floor (0°); button GP13 calls it to the first floor (180°).
Start at the ground floor. The servo is powered from VBUS at 50 Hz; debounce both buttons.