This is probably a question for Darrel.

Anyway i'm using his excellent SSPWM to generate a 2khz pwm output on a 16F88 pic running at 8mhz.

The 1% Duty resolution available as standard works fine.
But can that be increased to 0.1% resolution? Or perhaps 0.5% resolution.

What would I need to change? I see DutyCycle is a byte variable so that needs to be a word if DutyCycle was going to be expanded to 1000 units. It looks like simply a matter of the maths to calculate the TMR1 duty periods but that's not my strong point

http://www.pbpgroup.com/modules/wfse...d.php?fileid=3

Thanks Peter