View Single Post
  #11   Spotlight this post!  
Unread 11-02-2007, 13:30
Ianuser Ianuser is offline
Registered User
FRC #0570
 
Join Date: Feb 2007
Location: new york
Posts: 64
Ianuser is an unknown quantity at this point
Re: How do I program this sensor?

And, how can I make the motor stop at each level? I don't think
Code:
pwm03 = 127;
will work because it will just turn it off for a split second and by then my joystick would not have gotten back to 127, so it'd keep going, I think. A timer (never used one before)? Or, another solution? Anything I can do to make the winch stop at each level would be greatly appreciated.