|
Pneumatic Pressure Switch for EasyC
My programming group has a much easier time using EasyC Pro for FRC than MP Lab. I noticed and read about the "Pressure Switch" button in EasyC Pro which is found under Outputs and it seemed to be exactly what we were looking for to turn the compressor on and off. After messing around with just the pressure switch button we could never get it to work.
Then we went back to old code made by a previous programmer in MP Lab that had the default pressure switch code and it worked perfectly, turning the compressor on and off appropriately.
This is a really simple question really, I just want to know how people are successfully using "Pressure Switch" in their EasyC code. If someone could talk me through that that would be great. When I try it with EasyC , we can't even get the spike to work.
|