No - the pwm on the Esp32 is hardware driven.
Or another thought - you could send an array of o,1,1,1,0 and then adjust the number of 1s to be close to 2us
@Wilberforce started
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.
No - the pwm on the Esp32 is hardware driven.
Or another thought - you could send an array of o,1,1,1,0 and then adjust the number of 1s to be close to 2us