PR2 should be loaded with 249 for 1kHz @4MHz. Plug this into the calculation shown in the
data sheet for PWM resolution, and you'll see it's just short of 10-bits.
PR2 should be loaded with 249 for 1kHz @4MHz. Plug this into the calculation shown in the
data sheet for PWM resolution, and you'll see it's just short of 10-bits.
Bookmarks