Thread
:
Solenoid Breakout
View Single Post
#
1
02-03-2010, 22:58
mikets
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 674
Re: Solenoid Breakout
How did you declare and instantiate rightStick? If you dynamically instantiate it such as:
Code:
Joystick *rightStick = new Joystick(n);
Then you should be doing:
Code:
if (rightStick->GetRawButton(4)) {Sol1->Set(true);}
__________________
mikets
View Public Profile
Visit mikets's homepage!
Find all posts by mikets
Find CD-Media Photos by mikets
Find CD-Media Papers by mikets