Great! Yes, the PWM uses a counter with a prescaler, so as you approach the maximum frequency the value in the counter/prescaler reaches zero, which means far less accuracy :(
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Great! Yes, the PWM uses a counter with a prescaler, so as you approach the maximum frequency the value in the counter/prescaler reaches zero, which means far less accuracy :(