NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void PosRegAddAngle ( byte  output,
long  angle_add 
)
inline

Add to the current value for set angle.

Add an offset to the current set position. Returns immediately, but keep regulating.

Warning
This function requires the enhanced NBC/NXC firmware version 1.31+
Parameters
outputDesired output port. Can be a constant or a variable, see Output port constants.
angle_addValue to add to the current set position, in degree. Can be negative. Can be greater than 360 degree to make several turns.
Examples:
ex_PosReg.nxc.