Kind of surprised that the timeout in line 19 has to be so long. Without logging I would expect that none should be needed, since ._sent() is a callback after all.
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.
Kind of surprised that the timeout in line 19 has to be so long. Without logging I would expect that none should be needed, since ._sent() is a callback after all.
I expect this to work: