Thanks @possmann - yes, the API changed a few months back and I must have forgotten to update the example. I'll get that changed the next time I update the website.
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.
Thanks @possmann - yes, the API changed a few months back and I must have forgotten to update the example. I'll get that changed the next time I update the website.