Quote Originally Posted by cphillips82 View Post
Thanks for your suggestion but I think that would just close my window even further,I wouldnt think this would do much except bring the sweep down to 0 - 20 ,I think this is simply not having the correct value components in place in the voltage divider. But I do think alot which I'm often wrong!
Yup, you're thinking the wrong way.

If the usable range was 0-50 before, then changing to 10-bit will increase that range by a factor of 4, which gives 0-200.

You could change the resistors in the divider to retain pure PBP. But you may also want to consider the other benefit of HPWM10 ... Glitch Free Operation.

Constantly updating the normal HPWM command can really mess up the waveform. But with Glitch-Free, it doesn't matter how often the DutyCycle is changed. You'll still get "Clean" PWM.
<br>