|
problem with joystick buttons (top left one)
we are having a problem with the top left black button next to the FOV mini joystick on the joystick that FIRST has provided us.
our top right button works however....
i'm thinking maybe we dont have the correct variable. here is our code:::
/* 2nd joystick open globe motor arms */
if (p2_sw_aux1==1)
{pwm01 = 200; }
else if (p2_sw_aux2==1)
{pwm01 = 55; }
else {pwm01=127;}
the else if statement is where i think the problem is but I'm not entirely sure.
help would be helpful.
THANKS
love, richie
__________________
I got the mic and you got the moshpit
|