View Single Post
  #1   Spotlight this post!  
Unread 16-02-2013, 20:15
tmccalister tmccalister is offline
Registered User
FRC #2985
 
Join Date: Jan 2011
Location: TEXAS YEEEHAWWWWW
Posts: 18
tmccalister is an unknown quantity at this point
Unhappy Need help on a line of code. Java!

So im trying to get our solenoid to run like our compressor. Our compressor is set to run as long as the code is running. we have a tray like thing (excuse my awesome technical terms) with a piston attached to it. The piston needs to constantly be out but I cant seem to program that. So far I can program it to come out when I push button 3 but I want it instead to be constantly out and the air pressure to cease and the piston to retract when I press button 3. You see my dillema?