Page 1 of 1

Esp32 wroom 32 pwm scale to duty

Posted: Mon Feb 02, 2026 3:52 pm
by solartone
Is it possible to scale the resolution of say 12bit (4095) to a duty of 0-50%, rather than full duty of 100%.
If so how is this achieved.

Re: Esp32 wroom 32 pwm scale to duty

Posted: Tue Feb 03, 2026 3:14 am
by Sprite
Why not simply pick a resolution that is one higher (13-bit) and only use the 0-50% values as an input?