C Compiler
Which C Compiler?
PWM1 for moving left or right and PWM2 for forward or backward.
What Servo controller or how are the Servos connected to get this functionality?
What do the 'canned' timer and PWM function really do?
Are they using the PIC's CCP module or TMR2 or software timing?
Have you used a code simulator to look at what these function truely do?
PWM signal will send to a servo and move
I assume that it should be outputting a 1 to 2msec high pulse every 20msec.
Have you verified this is so with and O'scope?
You OpenPWM1 then SetOutputPWM1 but do not SetOutputPWM2 after OpenPWM2!!!!