|
Re: Some programming help on compressors and cylinder pressure
You'll need to Open the compressor in Begin, then Start it, then Set its RefNum with a handy name such as "Compressor". In Periodic Tasks there's already a bit of code that runs the Compressor Control Loop; you just need to enable it and make sure the RefNum Get name matches what you gave it in Begin.
The Compressor functions are in the WPI Robotics Library >> Actuators >> Compressor function subpalette.
|