Top (hightest) motor speed setting?


#1

The documentation for setMotorSpeed says that the motor speed is a percentage and values range from -100 (full speed reverse) to 0 (stopped) to +100 (full speed forward). A few of the same code files on the RobotC website show the use of motor speeds from -127 to 0 to +127. For example, look at Advanced 2-Joystick Drive with Buttons.c.
[LIST=1]

  • What is the actual legitimate range of values for motor speed?
  • What happens if I provide an out of range value to setMotorSpeed()? [/LIST] Thanks, David