Code:
Solenoid kicker = new Solenoid ( 7, 1 ); //locate a solenoid on slot 7 of cRio and channel 1 on the solenoid breakout.
if ( pup.getButton( Joystick.ButtonType.kTrigger ) == true ) //if the switch is pressed
kicker.set(true); //turn on the solenoid
else
kicker.set(false); //turn off the solenoid
That is pretty much our code for our kicker with the few changes to the variable names. Also, I believe that when you initialize the solenoid to channel 1, it is the first channel on the breakout board. I think its labelled as 0. Hope this helps

__________________
=>"That hole you drilled is a little off."
=>"Don't panic, just make it bigger and put a washer on it!"
=>Eye ball once, and cut as many times as it takes