|
Re: How do you code the compressor?
The C++ compressor class works well. You just need to tell it the digital I/O pin that you read the pressure switch from and which relay to turn on/off to charge the system when needed.
This class is a standard part of the WPI lib and is covered in the WPI documentation.
|