View Single Post
  #6   Spotlight this post!  
Unread 11-01-2005, 00:27
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,569
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Pneumatic pressure switch

The pressure switch code is in the 2005 default code. It's so simple that it's easy to miss.

Code:
relay8_fwd = !rc_dig_in18;  /* Power pump only if pressure switch is off. */
Hook the pump to relay 8 and the pressure switch to digital input 18 and you're good to go.

Last edited by Joe Ross : 11-01-2005 at 00:29.