View Single Post
  #4   Spotlight this post!  
Unread 29-01-2003, 17:32
mjt902 mjt902 is offline
Registered User
#0902
 
Join Date: Apr 2002
Location: Heritage High School
Posts: 31
mjt902 is an unknown quantity at this point
Yes, you can use the p1_y or p2_y but it CHANGES TO WHATEVER THE REAL VALUE IS FROM THE JOYSTICK. When your program runs, it sees your joystick at roughly 127, and then your code changing it to 150. This makes is continually switch from 127 to 150 to 127.

you could set your wheel to make p1_y = 150 but it's safer, and (although this is coming from someone completely insane and mentally unstable) easier to use your drive variable.
__________________
Top Ten Reasons to Procrastinate:
1.