![]() |
Motor class |
---|
void setMotorSpeeds(int lSpeed, int rSpeed) | - | accepts two integers that are within the legal speed range; illegal speed values are ignored. The arguments need to be in the following order: left speed, right speed. |
long getLeftPosition() | - | returns a long int that refers to the current left wheel position. |
long getRightPosition() | - | returns a long int that refers to the current right wheel position. |
Back | Home |
---|