Thread
:
Joystick Trigger and Button C++ Programming
View Single Post
#
11
13-03-2012, 00:30
Gigakaiser
Registered User
AKA: Brandon Hjelstrom
FRC #0987 (High Rollers)
Team Role: Programmer
Join Date: Jan 2012
Rookie Year: 2012
Location: Las Vegas
Posts: 67
Re: Joystick Trigger and Button C++ Programming
Your first example is correct. Just check that you are using the correct victors.
- You should move the Wait(0.005); directly below
Code:
else if(rightstick->GetRawButton(6) == 0) { Intakevictor->Set(0.0f); }
__________________
FRC Team 987
-
It's not enough
Gigakaiser
View Public Profile
Find all posts by Gigakaiser
Find CD-Media Photos by Gigakaiser
Find CD-Media Papers by Gigakaiser