View Single Post
  #2   Spotlight this post!  
Unread 02-03-2010, 22:58
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 674
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
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);}
__________________
Reply With Quote