|
Re: Can't add motors..
Your code snippets look good on their own. You mentioned that you added this to the default code. The default code already uses PWM 1 for the robot drive. Using it for your separate motor would cause a conflict. Have you tried it on a different PWM channel?
Another potential problem (to quote Alan Anderson) "Correctly plugging a PWM cable into a Victor is maddeningly difficult to do, and nearly impossible to tell when you've failed without trying to control it. It sometimes seems to me that consistently getting it right takes years of experience and practice."
|