|
#define OnRevReg |
( |
_ports, |
|
|
_pwr, |
|
|
_regmode |
|
) |
OnRevRegEx(_ports, _pwr, _regmode, RESET_BLOCKANDTACHO) |
Run motors forward regulated.
Run the specified outputs in reverse using the specified regulation mode.
- Parameters:
-
| _ports | Desired output ports. Can be a constant or a variable, see Output port constants. If you use a variable and want to control multiple outputs in a single call you need to use a byte array rather than a byte and store the output port values in the byte array before passing it into this function. |
| _pwr | Output power, 0 to 100. Can be negative to reverse direction. |
| _regmode | Regulation mode, see Output port regulation mode constants. |
|