Quote:
Originally Posted by Team 849
We're having problems with the servos and our camera can't track. We tried using the demo program and it still doesn't work. What's wrong? The camera can move with the joystick but the autonomous doesn't work either.
|
Are you using EasyC or Kevin Watson's camera code?
What pwm output ports do you have the servos connected to? The 2007 easyC demo code expects pan and tilt to be on pwm 10 and 11 by default, respectively. You can change this with the macros and constants dialog by hitting F6 in easyC. Kevin's code by default has pan and tilt on pwm 01 and pwm 02. That can be changed by editing the values defined in tracking.h.