|
Button Help
We are trying to program our robot so that if you hold down the trigger on one joystick then the motor goes forward, and if you hold down the trigger on the other joystick the motor goes in reverse. we have tried while loops and they simply stop our drive train and nothing works. when we have tried to put in multiple if loops then the drive works but it goes in one direction and continues until we shut our bot down.
here is a picture of what we have right now.
|