View Single Post
  #21   Spotlight this post!  
Unread 12-02-2004, 17:54
Tridelvior Tridelvior is offline
Windbringer
#0348
Team Role: Programmer
 
Join Date: Jan 2004
Location: Norwell, Massachusetts
Posts: 13
Tridelvior is an unknown quantity at this point
Question Re: Programming joysticks

Do you know the non-binary values of the pX_wheel in their up- and down positions?

I am trying to use their values with a pwm and do not know what to use.

Quote:
temp = p1_wheel;

if (temp==WHAT VALUE?[UP]){
pwm02=200;
}
else[DOWN]{
pwm02=55;
}
__________________
Team 348 Programmer/Animator/Slacker

Minion #341