MWB117
1
Hello, I was working on this motor and it stopped moving with the following code:
void autonomous() {
Motor Prueba (19);
Prueba.set_brake_mode(E_MOTOR_BRAKE_BRAKE);
Prueba.move_voltage(12000);
delay(3000);
Prueba.move_voltage(6000);
delay(3000);
Prueba.brake();
}
Tried:
- modifying code
- changing cables
Could anyone help?
Iām not a coder, but Prueba.brake() sounds like something that would stop the motors. Pro forumers might be able to help you better
Is the red smartport led illuminated on the motor ? If so, check the motor works using the dashboard, if not the motor is probably dead.
2 Likes
system
Closed
4
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.