... also, I wouldn't put save() at the end of your code when uploading, as it means your uploaded code is saved with echo off, which makes it hard to debug. Just do it manually on the left-hand side after you've uploaded the code.
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.
... also, I wouldn't put
save()
at the end of your code when uploading, as it means your uploaded code is saved with echo off, which makes it hard to debug. Just do it manually on the left-hand side after you've uploaded the code.