Curt - I just re-read your earlier email and noticed something I missed before.If the servos move in opposite directions forever when LEFT_CLK_ON_TIMER_1 is commented out, that probably means your servos are not calibrated (a pulse width of 1.5ms on their control pins does not result in zero motion). Do the servos have a pot (variable resistor) for setting the neutral position? If so, run the ZERO_SERVOS code and adjust each pot until the servo stops moving.
If the servos do not have an adjustment, then you'll need to change the code to have different values for CENTER_PERIOD for left and right servos, and will need to experiment to find the values which cause the motors to not spin. Without zeroing the servos, you won't be able to control speed and direction of rotation. This is a standard thing one has to do with any servo-based robot.
Also, remember that if you have LEFT_CLK_ON_TIMER_1 commented, the Left WW-01 clock line should connect to pin B0, but if it is uncommented, the clock line should connect to pin C0.
What kind of board are you using, btw? A custom PIC board, or a Mark III, or what? What other connections are there on this board between the various pins (Bx and Cx)?
-Pete CURTIS M ARMER wrote:
Pete The motors will not move for any test as long as I have the #define LEFT_CLK_ON_TIMER_1 uncommented. If I comment it out then the servos move in oppisite directions forever as soon as device is programmed.