|
Re: COMPRESSOR & PRESSURE SWITCH HELP...
One line of code:
/* Power pump only if pressure switch is off. */
relay7_fwd = !rc_dig_in02;
Put it in both the teleop code (usually Default_Routine) in in autonomous if you are doing autonomous (in User_Autonomous_Code())
Brian
__________________
Brian K
Team 1225 Robotics Mentor
Last edited by SuperBK : 15-02-2008 at 08:29.
|