Add a class which does the following:
1) Init the compressor and turn it on by default
2) Read the system pressure (in PSI) from an analog sensor, and put it to the dashboard
3) Add logic to receive compressor start/stop signals from the driver, and command compressor start/stop logic - this is to allow the driver to manually force the compressor off if something goes wrong on the field.
4) Log signals pressure, compressor state command, and compressor current draw
Add a class which does the following: 1) Init the compressor and turn it on by default 2) Read the system pressure (in PSI) from an analog sensor, and put it to the dashboard 3) Add logic to receive compressor start/stop signals from the driver, and command compressor start/stop logic - this is to allow the driver to manually force the compressor off if something goes wrong on the field. 4) Log signals pressure, compressor state command, and compressor current draw