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)
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)