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

Get motor P value.

Get the proportional PID 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 proportional PID value of the specified output.
Examples:
ex_motorregpvalue.nxc.