Quote:
|
Originally Posted by Chris Bright
correct me if i am wrong but isn't the code for the pressure switch already in the default as long as you hook up the switch to digital input 18 and the pump to relay 8?
|
Yes. The default code contains the following lines, I believe:
Code:
relay8_fwd = !rc_dig_in18;
relay8_rev = 0;
Connect the pressure switch to the white and black wires of a cable plugged into digital input 18, and you should be all set (assuming you've connected the compressor's relay to relay output 8).