Untitled - By: xiaoji - 周六 2月 26 2022
#import sensor, image, time
from pyb import Servo
import time
s1 = Servo(1) # servo on position 1 (P7)
while(1):
s1.angle(45) # move to 45 degrees
time.sleep(600)
s1.angle(90)
time.sleep(600)
#import sensor, image, time
from pyb import Servo
import time
s1 = Servo(1) # servo on position 1 (P7)
while(1):
s1.angle(45) # move to 45 degrees
time.sleep(600)
s1.angle(90)
time.sleep(600)