Raspberry Pi Pico practice problem · Raspberry Pi Pico
Motor speed
HardBudget $27MicroPython
A motor on IN1 GP20, IN2 GP21, ENA GP22, driven forward. A potentiometer on GP26 sets the speed: feed its reading to PWM on ENA (1000 Hz), so half the shaft is half duty.
The test starts at 50 % and turns it to 100 %.