It's very clear now.
Thanks for your explanations.
It's very clear now.
Thanks for your explanations.
Roger
It's a bit confusing...
The FREQ of the PWM can only be (X) and you might not be able to set it to (X+1) because the 'setter' of the FREQ is a divisor of Fosc. The duty cycle of that particular frequency of the PWM can be practically anything.
There are other ways to get an exact PWM frequency with an exact duty cycle at that exact frequency...but they go quite a bit further than a standard PIC.
Bookmarks