Hi, I'm Paul Boguslavskiy from Team 1403. I have a problem trying to get this limit switcherrs to work. I have 3 buttons of a joystick to control the direction of a lazy susan: left, right stop.
I have 2 limit switchers on each side. When the lazy susan goes too much left the switch should go on and stop the lazy susan. What I did before was say that if left limit goes on, set motor speed to 0 (stopping the motor). However, the limit switch STAYS true, and the motor speed is forever set to 0. I'm not sure what to do now, how can I stop the motors from spinning once, and then be able to continue later.
SIDE NOTE: When I press the button for left once it should continue to spin left forever. I do not want a press and hold to spin the motors.
