The pressure switch is preset for somewhere around 110 psi.
The pressure switch gets wired to a sidecar Digital Input, just where gets specified in your code.
The control PWM cable for the Spike controlling the compressor gets connected to a sidecar Relay output.
Here's an example of the code:
