View Single Post
  #3   Spotlight this post!  
Unread 24-01-2008, 15:52
kevin.li.rit's Avatar
kevin.li.rit kevin.li.rit is offline
Imaginary Friend
AKA: Kevin Li
FRC #0596 (SciClones)
Team Role: Student
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Hopkinton, Massachusetts
Posts: 936
kevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond repute
Send a message via Yahoo to kevin.li.rit
Re: Rigging The System...

Well you need code to make the pressure switch work, I.E. You need to program the RC to check and see if the switch is on or off. Then respond by turning on or off the compressor

If you haven't modified the code, then you can try plugging in the compressor spike to relay 8. I'm looking at the default code and it appears to me that they have programmed the pressure switch to work with digital input 18

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

If that doesn't work, try writing you own code, including the relay you used.
like
if(rc_dig_in18)
{relay8_fwd=0;
}
else
relay8_fwd =1;

Or the same way the default code has it with the relay outputs your using.

Also, if you're using the red and black like Gannon said, then switch it to white and black.
__________________
Kevin Li

596 - Sciclones
1405 - Finney Falcons
2262 - Holliston Panthers

Last edited by kevin.li.rit : 24-01-2008 at 15:55.