伺服电机
写入连接到 Raspberry Pi® 硬件的伺服电机
将 Raspberry Pi 与伺服电机结合使用。
对象
raspi | Connection to Raspberry Pi board |
函数
servo | Create connection to servo motor |
writePosition | Write position of servo motor |
主题
- Servo Motors
Raspberry Pi servo module.
- Rotate a Servo Motor
This example shows how to rotate a servo motor by its maximum angle.