Function rc_motor_free_spin¶
Defined in File motor.h
Function Documentation¶
-
int rc_motor_free_spin(int ch)¶
Puts a motor into a zero-throttle state allowing it to spin freely.
This is accomplished by putting both motor terminals connected to the h-bridge into a high-impedance state.
- Parameters
ch – [in] The motor channel (1-4) or 0 for all channels.
- Returns
0 on success, -1 on failure