NXC
Version 1.2.1 r5
|
#define OutputModeField 1 |
Mode field.
Contains a combination of the output mode constants. Read/write. The OUT_MODE_MOTORON bit must be set in order for power to be applied to the motors. Add OUT_MODE_BRAKE to enable electronic braking. Braking means that the output voltage is not allowed to float between active PWM pulses. It improves the accuracy of motor output but uses more battery power. To use motor regulation include OUT_MODE_REGULATED in the OutputModeField value. Use UF_UPDATE_MODE with UpdateFlagsField to commit changes to this field.