Sure. The compressor should be wired into a spike relay on the electrical panel, which should be wired into one of the relay ports on the sidecar. The pressure switch should be wired into a digital I/O on the sidecar. The attached image shows code that will start the compressor, fill up the canisters, and stop itself once the canisters get full. Once the pressure gets low again, it will run until it is full.
Now you can code solenoids and the cylinders will have air from the compressor to run.
Also, here's another post of mine showing both the compressor and two solenoids being used:
http://www.chiefdelphi.com/forums/sh...367#post813367