View Single Post
  #6   Spotlight this post!  
Unread 10-02-2008, 19:22
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: compressor problems

Quote:
Originally Posted by Spiders View Post
well the spike from the compressor is in the 8th relay output, and the pressure switch is in the 18th digital I/O, and the default code is on
"relay8_fwd != rc_dig_in18;
relay8_rev = 0;"
The code looks good assuming you don't have the quotation marks in the code. Where is this in the code? It should be in user_routines.c if you are using the IFI code or in teleop.c if you are using Kevin's code. Make sure that the relays are not set to 0 somewhere else in the program and that your controller is connected and not disabled.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364