View Single Post
  #3   Spotlight this post!  
Unread 15-02-2008, 08:29
Racer26 Racer26 is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Beaverton, ON
Posts: 2,229
Racer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond repute
Re: COMPRESSOR & PRESSURE SWITCH HELP...

The Nason pressure switch is a normally closed switch, which means it will normally pull your digital input to 0, except once it reaches 120psi, it will switch to 1. All you do to run the compressor knowing that, is set whichever relay you have it connected to, to the opposite of the input.

In your case, I believe this is:

Code:
 relay7_fwd = !rc_dig_in02;