View Single Post
  #6   Spotlight this post!  
Unread 09-10-2009, 16:36
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Using Pneumatics with the CRIO?

Look at the WPIlib documentation for the Compressor class. It tells you what methods to call in order for the program to control the compressor properly. When you create your compressor object, you specify which relay output is connected to the Spike and which GPIO input is connected to the pressure switch. After the proper initialization, the relay is turned on automatically when the switch indicates low pressure.
Reply With Quote