well, the compressor is easy:
Code:
relay3_fwd = !rc_dig_in18;
Wire the compressor's + and - leads to the +/- on the output of the 3rd spike, and wire the pressure switch in the pneumatic system into the 18th digital input.
single solenoids are similarly easy:
Code:
relayN_fwd = 1; //to go
relayN_fwd = 0; //to stop
wire the solenoid to the +/- leads of the spike.
double solenoids are slightly trickier.
different people do them different ways, but 1075 in the past has coded them by wiring the +ve's of each side of the double solenoid to + and - on the spike, and wiring the -ve's of each side of the double solenoid to the ground reference on the robot. switching _fwd gives one direction, and _rev goes the other way.