View Single Post
  #2   Spotlight this post!  
Unread 29-01-2003, 17:18
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
i don't think you can set p2_y to a set speed. what you want to do is set your actual drive to a set speed.

when you set p2_y to a set speed, it immediately switches back to whatever position the joystick is in, probbly around 127. therefore 127 is sent to the serout line.

this is what you want:

if rc_sw15 = 1 then drive_L = 150

or whatever drive variable you are using
__________________
Top Ten Reasons to Procrastinate:
1.