|
Re: solenoid and compressor code
Quote:
Originally Posted by johncap100
so i only need to place the compressor in the begin vi, not in the teleop portion of the robot main vi?
|
Yes, the compressor Start in Begin.vi actually spins off a background task that keeps monitoring the pressure switch and turning the compressor on & off as necessary, either in Autonomous or Teleop. Whenever the robot is disabled it won't be allowed to run the compressor, but it'll be trying it's best.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 25-02-2010 at 13:18.
|