|
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.
|