I've been working on my Bangle app and got to the point where I need to handle its configuration. I need to be able to read its current configuration, have the user modify it, then write it back.
I started with the Data Storage Tutorial. In the interface.html file (which I can seem to get going - that's a separate issue) the code references Util.readStorageFile() and Util.eraseStorageFile().
Going to the interface.js source I found that there is no Util.writeStorageFile(). Hopefully that's not too hard to add?
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.
I've been working on my Bangle app and got to the point where I need to handle its configuration. I need to be able to read its current configuration, have the user modify it, then write it back.
I started with the Data Storage Tutorial. In the interface.html file (which I can seem to get going - that's a separate issue) the code references Util.readStorageFile() and Util.eraseStorageFile().
Going to the interface.js source I found that there is no Util.writeStorageFile(). Hopefully that's not too hard to add?