Datasheet

7
Click File->Open...->python/pico-Motor-Driver-code/PCA9685.py to run the
script
Motors A and B will rotate at full speed for 2S clockwise, and then rotate at half
speed anticlockwise for 4S
python
Windows environment
Press and hold the BOOTSET button on the Pico board, connect the pico to the
USB port of the computer through the Micro USB cable, and release the button
after the computer recognizes a removable hard disk (RPI-RP2).
Download the pico_micropython_xxxxx.uf2, then copy it to the drive(RPI-RP2).
Open Thonny IDE(note: use the latest Thonny, otherwise, the Pico support
package is not included. The latest version under Windows is v3.3.3
Click tool->setting->interpreter, then select the corresponding port of Pico
Click file->open->servo.py and click run
The following picture indicates that the program has run.