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

Get motor tachometer counter.

Get the tachometer count value of the specified output.

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 tachometer count value of the specified output.
Examples:
ex_motortachocount.nxc.