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>
Bookmarks