Quote:
Originally Posted by Poke2201
Ok I made a new code in Teleop with solenoids and Relay and compressors I cant tell if I did this right, and I just followed most of the examples around here and LabView.
|
Why are you enabling and disabling the compressor based on a joystick button?
Unless you're doing some fancy power-saving scheme, I don't see a need to do anything besides opening and starting the compressor in Begin (and closing it in Finish). Everything involved with turning it on when the pressure switch calls for it will be taken care of for you behind the scenes.