I think you have to call it as the payload of a timeout. 20ms delay will do.
There is another thread about this as it is a question I once asked when I hit the same problem.
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 think you have to call it as the payload of a timeout. 20ms delay will do.
There is another thread about this as it is a question I once asked when I hit the same problem.