Hello I am trying to make a motor run forwards only when im holding a button and stop if I release the button OR if the thing the motor is moving hits a limitswitch
I have it going up and down ONLY when the button is held but the moment I try to add limitswitch code it stops working
lift is the subsystem - liftUp, liftDown, and liftStop are the commands and in the OI the buttons are in a group all with armLiftDown or Up or Stop
Also how do I make the chooser code in Robot.java work. I don't see the autonomous command I set in the Driver Station
Here is the code on GitHub:
https://github.com/FranklinMarquette/Robot2016
Thanks so much for the help!