Quote:
Originally Posted by TechWarlock
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.
|
The call to C->Start() will start the thread that automatically checks the Pressure Switch and shuts off the compressor as needed. Is there a properly connected pressure switched plugged into DIO 1? Also, have you tried using a Relay object and manually starting the compressor? If so, does it function?