Thread: Buttons
View Single Post
  #10   Spotlight this post!  
Unread 07-02-2011, 16:55
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Re: Buttons

How can I do easier for the driver by making it 2 buttons. For example making one increment and the other one decrement. Lets assume that we have 7 positions:

Position1: to take the tube from the ground
Position2: 30 inches
Pos3: 38 inches
Pos4: 67 inches
Pos5: 75 inches
Pos6: 104 inches
Pos7: 112 inches

Let button increment be Button 2 on Joystick 2 and
Let button decrement be Button 3 on Joystick.

What I want is when I push button 2 if the lifting mechanism in
Pos (x-1) I want it to heightened to Pos (x).

And for the button 3 if the lifting mechanism in Pos (x) I want it to lowened to Pos (x-1).

Those position thing is just an example and what I am asking for is how to use one button repetitively ?


Thanks in advance!!
Reply With Quote