i was working on producing a carrier wave using the PWM feature of the PIC16f877a...
however i have few doubts on this.... i have used the PWM calculator provided by https://www.micro-examples.com for calculating the values to be loaded on to various registers....
i obtained the values and verified that they are correct using the formulas given in the datasheet... however i noticed the follwing written...
ENSURE THAT THE PWM PIN IS CONFIGURED AS DIGITAL OUTPUT...
what is the meaning of this statement? i will be taking the PWM output from pin number 17(CCP1)... do i have to include any specific statement in my code to do the above??
however i have few doubts on this.... i have used the PWM calculator provided by https://www.micro-examples.com for calculating the values to be loaded on to various registers....
i obtained the values and verified that they are correct using the formulas given in the datasheet... however i noticed the follwing written...
ENSURE THAT THE PWM PIN IS CONFIGURED AS DIGITAL OUTPUT...
what is the meaning of this statement? i will be taking the PWM output from pin number 17(CCP1)... do i have to include any specific statement in my code to do the above??