Today I started to experiment with PWM in a 16F877. Got both PWM modules working in minutes.
While period can be finely ajusted with 10-bits precision, the duty cycle seems more complicate due to the two LSB in CCP1CON<5:4>.
I have no specific application in mind but when tried to increase/decrease the duty cycle value I've realized that trying to change it down to the LSB would demand too much code other than INCF / DECF.
For an eventual application requiring a fast adjustment, is it any way to do it or we have to accept adjusting only the value in CCPR1L :?: