How to figure LEDC max resolution?
Posted: Wed Aug 08, 2018 10:20 pm
In the docs they mention that for the LEDC the higher you set the PWM frequency the less bits of resolution you can have, but I'm not clear on how you figure the max resolution for a given frequency.
I'm using 20khz PWM frequency, what would the max resolution be at this frequency? I would like to use 12 bits.
I imagine there is a simple formula for figuring this out, I just haven't found it in the references yet.
I'm using 20khz PWM frequency, what would the max resolution be at this frequency? I would like to use 12 bits.
I imagine there is a simple formula for figuring this out, I just haven't found it in the references yet.