Pnuematics Noob help

	public class Robot extends IterativeRobot {
	    /**
	     * This function is run when the robot is first started up and should be
	     * used for any initialization code.
	     * 
	     */  RobotDrive myDrive, catcherDrive;
	    	Joystick moveStick;
	    	ADXRS450_Gyro scotbot;
	    	Solenoid S;
	    	Compressor C;
	    	DoubleSolenoid DS;
	
	    	
	    public void robotInit() {
	    	Talon TalLF = new Talon(0);
	    	Talon TalLR = new Talon(1);
	    	Talon TalRF = new Talon(2);
	    	Talon TalRR = new Talon(3);
	    	Talon TalCatcher = new Talon(4);
	    	Talon TalCatcher1 = new Talon(5);
	    	myDrive =  new RobotDrive(TalLF,TalLR,TalRF,TalRR);
	    	moveStick = new Joystick(0);
	    	catcherDrive = new RobotDrive(TalCatcher, TalCatcher1);
	    	scotbot = new ADXRS450_Gyro();
	    	DoubleSolenoid DS = new DoubleSolenoid(0, 1);
	    	Compressor C = new Compressor(0);

My first question is do we have these solenoids and compressor assigned correctly? secondly, in the instantiation of the solenoids where on the PCM do we plug in the solenoids? This is our first year with pneumatics and any help with really any intro information would be greatly appreciated

You don’t need to make a Compressor object as long as you have at least one Solenoid object. The compressor, pressure switch, and the solenoids all plug into the Pneumatic Control Module. The numbers on the PCM match the channel numbers in the constructor.