Motor troubleshooting

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:

  1. modifying code
  2. 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