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).
我想用舵机Servo类里的angel函数指定舵机为某个角度,然后读出此时这种信号的频率、占空比等信息,请问大家怎样才能实现呢?
from pyb import Servo s1 = Servo(1) s1.angle(90) print(s1.angle()) print(s1.pulse_width()) print(s1.calibration())