Ahh - thanks! So just to confirm:
require("Storage").write("myfile.json","#0f0"); var c = require("Storage").readJSON("myfile.json",true)||"error";print("Got",c);
Doesn't print anything, when it should have printed Got error. It basically stops execution right after readJSON.
Got error
readJSON
I've just fixed the error, so new builds should have the fix in
@Gordon 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.
Ahh - thanks! So just to confirm:
Doesn't print anything, when it should have printed
Got error
. It basically stops execution right afterreadJSON
.I've just fixed the error, so new builds should have the fix in