Quote:
Originally Posted by Spiders
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.