View Single Post
  #1   Spotlight this post!  
Unread 14-02-2010, 21:15
helenajoy helenajoy is offline
Registered User
FRC #2437
 
Join Date: Nov 2008
Location: Hawaii
Posts: 31
helenajoy is an unknown quantity at this point
Smile Buttons on Joystick

Just a quick simple question -
Is the code attatched done correctly? The false area in both of the case structures are completely blank.

I want it so that Button One will accuate solenoid and basically kick. Then, I want Button Two to bring the kicker back in when it is pressed.

When this code is running, the Joystick on the Driver Station Diagnostics tab lights blue. Does this mean that the code is reading the buttons or just that it will light blue no matter what button is pressed.

Right now, the code is not working and doesn't seem to be controlling the solenoids at all.

Also, our compressor doesn't seem to be the problem. I placed the compressor code within Periodic Tasks and it does work.
Attached Thumbnails
Click image for larger version

Name:	2010 Joystic Buttons (kicker) Screenshot.PNG
Views:	127
Size:	14.1 KB
ID:	8672  
Reply With Quote