C4EV3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Macros
Output port regulation mode constants

Macros

#define OUT_REGMODE_IDLE   0
 
#define OUT_REGMODE_SPEED   1
 
#define OUT_REGMODE_SYNC   2
 

Detailed Description

Use these constants to configure the desired regulation mode for the specified motor(s): none, speed regulation, multi-motor synchronization. For the EV3 only the speed regulation constant has any effect. If you set power instead of speed then no regulation is in effect (equivalent to using OUT_REGMODE_IDLE with the NXT.

Macro Definition Documentation

#define OUT_REGMODE_IDLE   0

No motor regulation.

#define OUT_REGMODE_SPEED   1

Regulate a motor's speed.

#define OUT_REGMODE_SYNC   2

Synchronize the rotation of two motors.