Yup, my code doesn't seem to work (even if I try to delete the file before it has errored out). The watch was not on my wrist so it wasn't trying to record any movement.
After dowloading the log I wanted to clear the log,
I am not sure if my minification using gulp-terser is mangling code in some way. I'll test with direct require("Storage").open('...','w').erase() from console tomorrow morning.
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.
Yup, my code doesn't seem to work (even if I try to delete the file before it has errored out). The watch was not on my wrist so it wasn't trying to record any movement.
After dowloading the log I wanted to clear the log,
Here's the minified->uploaded->downloaded->beautified code for
clearLog
I am not sure if my minification using
gulp-terser
is mangling code in some way. I'll test with directrequire("Storage").open('...','w').erase()
from console tomorrow morning.