Closed DengkeDu closed 6 years ago
Does the following function working on megapi?
encoderMotorRun(self,slot,speed)
All there API support:
encoderMotorRun( port, speed )
encoderMotorMove( port, speed, distance, def onFinish )
encoderMotorMoveTo( port, speed, position, def onFinish )
encoderMotorSetCurPosZero( slot )
encoderMotorPosition( slot, def onResult)
encoderMotorSpeed( slot, def onResult)
Hi For encoder motor, the encoder motor function doesn't contain port, so can I insert it to any port that color match?