View Single Post
  #7   Spotlight this post!  
Unread 07-02-2004, 01:01
deltacoder1020's Avatar
deltacoder1020 deltacoder1020 is offline
Computer Guy
AKA: Dav
#1020 (The Indiana Prank Monkeys)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Muncie, Indiana
Posts: 340
deltacoder1020 has a spectacular aura aboutdeltacoder1020 has a spectacular aura about
Send a message via AIM to deltacoder1020
Re: How do the servos work?

essentially, when you output 1, you told the servo to rotate almost as far as it can in one direction (almost, because the minimum is 0, but there's little difference). thus, outputting 0 wouldn't make it come back, only turn a fraction more in the direction it already was.

dead center would be outputting 127. try that.

likewise, to make it turn in fully the other direction, output something towards the upper end of the range, such as 254.
__________________
Team 1020, the Indiana Prank Monkeys (www.team1020.org)