I'd just make it 30ms regardless.
I guess as usual, this is only actually a problem on ESP8266, and not any of the proper Espruino boards?
You do know the text you quoted says 20-40uS, but the timeout is 30ms so 1000 times longer?
20-40uS
30ms
@Gordon 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.
I'd just make it 30ms regardless.
I guess as usual, this is only actually a problem on ESP8266, and not any of the proper Espruino boards?
You do know the text you quoted says
20-40uS
, but the timeout is30ms
so 1000 times longer?