|
Re: Non-camera servos in Autonomous
If it's working in teleop mode but not in autonomous, I'm going to guess that you're using the camera code from Kevin Watson, and your servo is on pwm13, pwm14, pwm15, or pwm16. If I've guessed correctly, read on. If not, I don't know what to tell you.
Kevin included a very nice PWM driver with the camera code. However, he didn't replace all of the original calls to Generate_Pwms() with calls to the new PWM(). Make the change yourself near the end of the autonomous loop.
|