|
Re: CMU2Cam Degrees & more
Well, I can answer only your first question because I am programing in easyC and I don't know MPlabs as well.
for calculating the degrees you need to do the following:
1 degree=Tilt_range/Number_of_PWM
same thing for the pan.
The tilt range is the range of degrees the tilt/pan server can turn.
Number of PWM is 256 (0...255).
Last edited by itsme : 12-01-2007 at 09:57.
Reason: changed ratio to range, ratio- wrong word
|