Quote:
Originally Posted by BPtigers
So if I hook it up to jaguar I don't need to program anything in labview the limit switch will do it all automatically?
|
Yes, but I'd recommend coding it if only so you learn how. Doing that is just the tip of the iceberg when it comes to FRC coding. The code isn't that hard to do as long as you have the proper logic. Make a flowchart for the possible states of the switch(es) and the motor. If the switch is open when the motor is running, what do you want it to do? If the switch is closed when the motor is running, what do you want it to do? What if the motor isn't running?