PWM zero duty cycle not zero?
Posted: Mon Mar 15, 2021 1:45 am
I have noticed on all of my PWM channels that they produce a very fine PWM pulse when a value of zero is loaded? The width is 240ns
Pic24Fj64GB002 10 bit StetDutyCycle = 0
Changing the duty cycle to 1 makes no change.
Changing the duty cycle to 2 changes the pulse width to double time 480ns
Is the compiler not allowing zero?
Pic24Fj64GB002 10 bit StetDutyCycle = 0
Changing the duty cycle to 1 makes no change.
Changing the duty cycle to 2 changes the pulse width to double time 480ns
Is the compiler not allowing zero?