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).
用官方的PCA9685如何控制舵机的速度?
要用for循环调用角度。
for i in range(90): servo.angle(i) time.sleep_ms(1)
把1改成10就舵机速度就慢了。
在扩展上如何实例化舵机呢?比如
from pyb import Servo import time s1 = Servo(1) while (1): s1.angle(150)
我发现用扩展板这样舵机没有反应。
我看官方给的教程都是用 servo.position(0, 180) time.sleep_ms(500)
这样并不能实例化一个舵机。
https://book.openmv.cc/example/15-Servo-Shield/main.html