View Single Post
  #3   Spotlight this post!  
Unread 14-02-2008, 19:45
psy_wombats's Avatar
psy_wombats psy_wombats is offline
Registered User
AKA: A. King
FRC #0467 (Duct Tape Bandits)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Shrewsbury MA
Posts: 95
psy_wombats has a spectacular aura aboutpsy_wombats has a spectacular aura aboutpsy_wombats has a spectacular aura about
Re: Help again with Servo Programming

Eliminate your ELSE cases and everything should work fine. They're negating the effect of the first IF and always set the PWMs to 0. You also may want to find the values at which the gear engages, but does not push the servo beyond its mechanical limit. Although I'm not sure it is needed.