PROS Hold Brake Type?

First you’ll want to set the brake mode: motor.set_brake_mode(pros::E_MOTOR_BRAKE_HOLD);
Then you tell the motor to stop moving: motor.move_velocity(0);
Note that you cannot use a voltage movement function such as move(0) to get the braking to work.

5 Likes