Code: Select all
OpenPWM 7, SERVO_REFRESH_RATE, zxCorrectPWM
PWM 7, SERVO_PWM_CENTER_PERCENT '0.0625
PWM 8, SERVO_PWM_CENTER_PERCENT
However the outputs are on H.3, H.4.
Perhaps the documentation is incorrect in the pins shown in the system library (pg.191)?
EDIT: the important thing is knowing which timers are used for channels 7,8: is it TMR5 associated with port H, or TMR4 associated with port L?