What's in "Juergen1_data.bin"? I don't think you ever said.
"Juergen1_data.bin"
I just tried this on an Espruino board with 1v79 from the website and it seems to work, so maybe my file Juergen1_data.bin is different somehow.
Juergen1_data.bin
Having said that, I found that if readFile failed and sent undefined to JSON.parse it could cause you pretty major problems.
readFile
undefined
JSON.parse
@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.
What's in
"Juergen1_data.bin"
? I don't think you ever said.I just tried this on an Espruino board with 1v79 from the website and it seems to work, so maybe my file
Juergen1_data.bin
is different somehow.Having said that, I found that if
readFile
failed and sentundefined
toJSON.parse
it could cause you pretty major problems.