![]() |
Compressor Programming Help
i have code that starts and stops the compressor but it doesnt seem to work. Can anyone see whats wrong with the code
Code:
#include "WPIlib.h" |
Re: Compressor Programming Help
Code:
if(joystick3.GetRawButton(On)){ |
Re: Compressor Programming Help
that was intended, but is there anyway to do it so that when the button is pressed it turns on and then turns off according to the pressure switch, besides that is anything else wrong with the compressor code because it doesn't run at all.
|
Re: Compressor Programming Help
Quote:
|
Re: Compressor Programming Help
yeah i used a relay object and it worked the compressor turned on, but it doesnt work with the code currently on it
|
Re: Compressor Programming Help
Quote:
|
Re: Compressor Programming Help
thank you for everything, we figured it out, it was our electronics, the pressure switch was wired wrong
|
Re: Compressor Programming Help
Why don't you initialize and start the compressor in the constructor for the Robot?
That is what we we do, and never have to deal with anywhere else. |
| All times are GMT -5. The time now is 02:34. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi