Great, thanks! I don't suppose you want to submit this to EspruinoDocs to get it on the main Espruino site?
Yep, I'll do that. I'd like to test it a bit first though in case I want to change the implementation.
@the1laz 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.
Great, thanks! I don't suppose you want to submit this to EspruinoDocs to get it on the main Espruino site?