View Single Post
  #8   Spotlight this post!  
Unread 21-02-2004, 23:48
velocipenguin velocipenguin is offline
Registered User
#0246 (Overclocked)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Boston, MA
Posts: 77
velocipenguin is on a distinguished road
Send a message via AIM to velocipenguin
Re: Pressure switch code

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).
Reply With Quote