@user142416, enjoy the updated code (post #29... could not test it yet, though... if it does not work, used what is in post #25).
@allObjects 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.
@user142416, enjoy the updated code (post #29... could not test it yet, though... if it does not work, used what is in post #25).