PyRasp

← All practice problems

Raspberry Pi Pico practice problem · Raspberry Pi Pico

Turn the speed

HardBudget $6MicroPython

A potentiometer on GP26 sets the blink speed: read it and map the wiper (0–3.3 V) to a 0.6 s on and 0.6 s off time at the middle, so one full cycle takes 1.2 s.

Keep the duty half on, half off. The test starts at 50 %, then turns to 100 % after four seconds.

More in Raspberry Pi Pico