主要内容

电机

控制与 EV3 模块相连的电机并从中读取数据

与连接到 EV3 模块的电机交互

对象

motorConnection to motor

函数

readRotationRead rotation from motor
resetRotationReset rotation count to zero
startStart motor
stopStop motor

疑难解答

Cannot Connect to a Sensor or Motor

Troubleshoot connections to LEGO® MINDSTORMS® sensors and motors.

精选示例