Hi,
The two PWM channels on the 16F877 share the same timer, which is timer 2. The two PWM channels must have the same period. They can have different duty cycles. You can check the data sheet to see if the 16F877A has the same restrictions about the timer.
Thanks,
Keith
Bookmarks