Duty cycle formula of PIC 16F877A

Home Forums Microcontrollers PIC Microcontroller Duty cycle formula of PIC 16F877A

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8891
    rajesh_prl
    Participant

    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?

    #9328
    Ligo George
    Keymaster

    Hope the following link will help you.
    Generating PWM with PIC Microcontroller

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
>