|
Re: Automated Air Compressor code
Well, the point is not only to set up a pressure switch, but to get that pressure switch to trigger an air compressor to activate, filling up our tanks if the pressure is too low.
If that IS what the InitPressureSwitch function would do, then please feel free to let me know, and I'll fix my code. 
__________________
Team #2970 Alum
Team #1652 Alum
2006: School Mascot for Team 1652
2007-2008: Programmer for Team 1652 (Robot Mafia)
2009: Programmer on Team 1652 (Robot Mafia), Programmer on Team 2970 (eSchool eBots)
2010-2016: Volunteer, Wisconsin Regional
2017: Programming Mentor, FRC 4247 (CougarBOTS, Obama SCTE, Milwaukee, WI)
|