View Single Post
  #13   Spotlight this post!  
Unread 21-01-2002, 08:42
diego25 diego25 is offline
Registered User
#0897
 
Join Date: Jan 2002
Location: Toronto, Ontario
Posts: 10
diego25 is an unknown quantity at this point
Re: Clarify please?

Quote:
Originally posted by s_alaniz
Diego,
I can't tell what it is you're trying to accomplish. Are you trying to limit how far the wheel turns? Or do you want to trigger a sequence that holds the wheel turned for some amount of time and then returns to straight? Sorry, I'm a bit muddled ... I read through your program and it looks like ...
<snip>
so what exactly do you want it to do?
Yeah, I know, my program doesn't do what I wanted it to do; that's why I'm asking here

If the joystick is halfway left, I want a motor to turn 45 degrees and stop. If the joystick is all the way left, I want the motor turn till 90 degrees and stop. Basically I'm trying to write a program for a steering wheel.

Thanks,

Diego