View Single Post
  #3   Spotlight this post!  
Unread 15-02-2002, 01:24
Mike Soukup's Avatar
Mike Soukup Mike Soukup is offline
Software guy
FRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Schaumburg, IL
Posts: 797
Mike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond repute
I'm not sure about the exact pbasic code, but here's the pseudo code:

if ((127 - DeadZone) > Joystick > (127 + DeadZone))
then Joystick = 127

You should perform that logic block before you use the joystick inputs in any calculations.

Mike