Quote:
Originally Posted by dShad
My team wants to use to limit switches to control our climbing device. Like once one limit switch is pushed the motor can no longer go backwards. I have a basic understanding of limit switches from searching the forums but I don't know how you would incorporate that into the teleop vi. How would go about saying okay once the DIO input is true it prevents the motor from going backwards?
|
If by "prevent the motor from moving backwards" you mean "stop powering the motor in the backward direction", then the best way is to connect the limit switch directly to the Jaguar (if you are using Jaguar). The Jaguar senses the limit switch and shuts off power. No code required.
~