View Single Post
  #1   Spotlight this post!  
Unread 11-02-2003, 07:53
cammie825 cammie825 is offline
Registered User
#0825 (Maximum Velocity)
 
Join Date: Jan 2003
Location: Galax, VA
Posts: 8
cammie825 is an unknown quantity at this point
Send a message via ICQ to cammie825
Yes This IS a Beginner's Question

I know that everyone is in deep with their programs at this point, but I'm having problems programming a dead zone into our joysticks. When we put the program in, it seemed to not respond all the time. Like it would go backwards, and then it would decide that it wouldn't go backwards anymore. I'm not really sure. Here's what we put in:

If 117<p1_y<137 THEN stop_p1_y
If 117<p3_y<137 THEN stop_p3_y
goto end_zero

stop_p1_y:
p1_y = 127
goto end_zero

stop_p3_y:
p3_y = 127
goto end_zero

end_zero:

If you could help, that would be great.
Thanks!