Hi,
The Pause statement won't effect the PWM since it's generated in hardware. If you have Pause 1 you'll basically get 5 periods of each dutycycle value.
You can Pause with microsecond resolution by using PauseUs (again, it's in the green book....)
When testing I used 300us and you can see the result in the attached screenshot. This is not a simulation, it's captured on real hardware.
Bookmarks