View Single Post
  #1   Spotlight this post!  
Unread 31-01-2007, 01:38
Wompas Wompas is offline
Registered User
FRC #1182
 
Join Date: Jan 2007
Location: Missouri
Posts: 7
Wompas is an unknown quantity at this point
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.