mPython Library
latest
模块
yeelight
motor
motor API
motor示例
mPython Library
Docs
»
motor
Edit on GitHub
motor
¶
motor是掌控板或micropython Motor library.通过I2C通讯控制电机驱动。
电机控制通讯协议数据:
Type
Command
motor_no
speed(int)
控制电机
0x01
0x01/0x02
-100~100
当 ‘speed’ 为负值,反转;当为正值,正转。
motor API
motor示例
Read the Docs
v: latest
Versions
latest
Downloads
htmlzip
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.