So I’m having a problem with my driver control program and need some help with it.
if (!(Controller1.ButtonL2.pressing() || Controller1.ButtonR2.pressing())) {
Arm.stop();
}
This line doesn’t actually seem to do anything. When I have the arm all the way up and am not touching either of the buttons, it slowly lowers itself down.
Without the block, it stops at the top until the r2 is pressed, then it goes all the way back down no matter how long the button is pressed down. This eventually caused an overheat in the motor, though. Am I just using .stop() incorrectly, or should I switch out the motor?