This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Function rc_motor_brake

Function Documentation

int rc_motor_brake(int ch)

Connects the motor terminal pairs together which makes the motor fight against its own back EMF turning it into a brake resisting rotation.

Parameters

ch[in] The motor channel (1-4) or 0 for all channels.

Returns

0 on success, -1 on failure