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

Get motor run state.

Get the RunState value of the specified output, see Output port run state constants.

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 RunState value of the specified output.
Examples:
ex_motorrunstate.nxc.