|
What relay # are you using? Are you using one or two pressure switches? What port(s) are they connected to?
If you had the compressor hooked up to relay1 and the pressure switch to rc_sw1 you're code could be as simple as:
relay1_fwd = 1 - rc_sw1
Of course you would need to add in some sort of timer to keep your compressor from cycling once the system filled up.
|