View Single Post
  #4   Spotlight this post!  
Unread 24-02-2006, 16:21
JJG13's Avatar
JJG13 JJG13 is offline
Yoda
AKA: Joshua Graffman
None #0180 (SPAM)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2003
Location: Martin County, Florida
Posts: 105
JJG13 has a spectacular aura aboutJJG13 has a spectacular aura aboutJJG13 has a spectacular aura about
Re: Finding servo location?

Quote:
Originally Posted by ForgottenSalad
Just as a quick question, seeing as I never got to test my code, would getting the location of the servo be as simple as
Code:
printf("Servo Location is... %d\r", pwm01)
or would I have to do something more to find where it is betweeen 0 and 255...?
First of all what are you trying to do? If you are setting a value to pwm01 and then printing it out later, this should work. However, you can't physically read the current position of the servo motor. Neither the hardware or software support this.
__________________
Behold the power of SPAM.