Hi Sir, I am new to the world of microcontrollers. I am trying to use the pulse width modulation unit of PIC 16f877a. As I know, the timer2 module is used generally with the oscillator clock devided by 4. Therefore, in the formula of PWM period there is the term ‘4’ .But why there is no ‘4’ in the PWM duty cycle calculation formula?