NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
byte MotorMaxSpeed ( byte  output)
inline

Get motor max speed.

Get the max speed value of the specified output.

Warning
This function requires the enhanced NBC/NXC firmware version 1.31+
Parameters
outputDesired output port. Can be OUT_A, OUT_B, OUT_C or a variable containing one of these values, see Output port constants.
Returns
The max speed value of the specified output.
Examples:
ex_PosReg.nxc.