View Single Post
  #15   Spotlight this post!  
Unread 16-02-2004, 00:20
Robert Hafner's Avatar
Robert Hafner Robert Hafner is offline
FIRST Alumni
no team
 
Join Date: Mar 2003
Rookie Year: 2000
Location: Springfield. MA
Posts: 34
Robert Hafner is on a distinguished road
Send a message via AIM to Robert Hafner Send a message via MSN to Robert Hafner Send a message via Yahoo to Robert Hafner
Re: Programming joysticks

Because the last bits are unreliable (from what i've read), how will this affect the program? Should I stick with a general area? example:

Code:
if (p1_wheel >= 42 && p1_wheel <= 46)
    // I am neutral
if (p1_wheel >= 250 && p1_wheel <= 254)
     // I am upperleft;