Quote:
Originally Posted by Minerbotics4827
I've figured out how to setup the normal limit switch, however, I am not sure on how to set it up so you can have a button override what the switch does when pressed. Someone helped us set up something similar last year at competition, but our old code got messed up.
|
The attached file is only meant to be suggestive, but would accomplish the task of an override.
It assumes a limit switch that is true if not, remove the not gate.
Basically an override boils down to the limit is not pressed or the override is.
Note: on the comment going to the motor, the value is otherwise zero.