Thread: Button input?
View Single Post
  #3   Spotlight this post!  
Unread 30-01-2009, 17:13
GunfighterJ's Avatar
GunfighterJ GunfighterJ is offline
Registered User
AKA: Joseph
FRC #2450 (RaiderBots)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Minnesota
Posts: 34
GunfighterJ is an unknown quantity at this point
Re: Button input?

Wire up a joystick and a get value. Hook up an unbundle by name( found in the programming--> Clusters,classes,variants.) to the joystick wire on the joystick--> get.vi. Hook the unbundle by name to a case structure(programming--> structures). Then put what ever you want to happen in that case structure. The true is for if the button is pressed down. The false is if it isn't pressed down.