|
Re: Need Help With General Pneumatics
Ryan,
I don't know what an "LD_sensor" is and I don't know what you defined "NOT_TRIPPED" as...
Have you looked at the default code from IFI? The compressor control is a single line of code:
Code:
relay8_fwd = !rc_dig_in18; /* Power pump only if pressure switch is off. */
Why are you making it more difficult?
Mike
__________________
Mike Betts
Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013
As easy as 355/113...
|