digitalPuls() on ESP8266 can only handle as lowes value 1ms because it is not using the hardware timer which can handle lowest 1us.
https://github.com/espruino/Espruino/issues/1749
You are welcome to extend it 😉.
Edit: It is but not working as it should
I got it, thank you.
@user111618 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.
digitalPuls() on ESP8266 can only handle as lowes value 1ms because it is not using the hardware timer which can handle lowest 1us.
https://github.com/espruino/Espruino/issues/1749
You are welcome to extend it 😉.
Edit: It is but not working as it should