Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
import pyb s1 = pyb.Servo(1) # create a servo object on position P7 #在P7引脚创建servo对象 s1.angle(45) # move servo 1 to 45 degrees #将servo1移动到45度
angle是控制角度的,已经到了45度,再控制到45度就不动了。