import servo
from utime import sleep

sleep(0.01)
while 1:
    servo.servo_move(90,1)
    servo.servo_move(90,2)
    print("angle is 90")
    sleep(0.5)
    servo.servo_move(170,1)
    servo.servo_move(0,2)
    print("angle is 170")
    sleep(0.5)
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT