elecLear78
Member
Iam bit confused with pwm resolution in pic controllers. Generally i am using the following equation to calculate ptper reguster
Frequency of clock/ pwm frequency = ptper value. The duty cycle is loaded based on the value of ptper value
Pdc = ptper * duty cycle / 100.
Now my confusion is the pwm resolution. What exactly is this, should i calculate everytime. Please advise.
Frequency of clock/ pwm frequency = ptper value. The duty cycle is loaded based on the value of ptper value
Pdc = ptper * duty cycle / 100.
Now my confusion is the pwm resolution. What exactly is this, should i calculate everytime. Please advise.