View Single Post
  #5   Spotlight this post!  
Unread 09-08-2006, 20:18
bodaciousllama bodaciousllama is offline
Registered User
no team
 
Join Date: Aug 2006
Location: SoCal
Posts: 3
bodaciousllama is an unknown quantity at this point
Re: Help needed with coding simultaneous movement (EasyC/VEX)

yes, by actively controlled i mean that it is being moved around.

so basically it will just sit there, and then when someone moves the robot, the servo will start moving, and when the robot stops moving, the servo stops


so cromat, how would i check the joystick position? is it just a 1 or 0 check, or is it more complicated

EDIT - and as for

Quote:
For back and forth you could set an integer to 1 or 0. If the integer equaled 1, it would count up to 255, and when the servo hit 255, the integer would be switched to 0 and cause it to count down back to a servo value of 0, where the integer would be set back to 1 and count up again... repeating...(use ++ and --)
i really have no idea how to even do that.

the manual that came with the program, or at least the one we recieved, was way too basic.