View Single Post
  #2   Spotlight this post!  
Unread 25-02-2004, 12:08
Random Dude Random Dude is offline
Oregon State Head FTA
AKA: Chris
no team (Oregon Robotics Tournament & Outreach Program)
 
Join Date: Aug 2002
Rookie Year: 1998
Location: Oregon
Posts: 142
Random Dude will become famous soon enoughRandom Dude will become famous soon enough
Re: More Programming Help!

Quote:
Originally Posted by KWalsh
How might I go about altering the default code so that the Pump is set to always on (or as last year, always forward) can someone help me? The pump wont even turn on...

Actually, the relevant code is already in there. Just connect the pump to Relay 8, and the pressure switch to digital input 18.

The line of code that controlls the pump is

relay8_fwd = !rc_dig_in18; /* Power pump only if pressure switch is off. */