E.openFile is for FAT filesystems (eg SD card) - it's not something that's even supported on Bangle.js
Storage.open uses the Bangle.js flash storage, so that's that one I'd suggest. But even then, if you're just writing simple files (and not appending/streaming data) I'd suggest just using Storage.write
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.
E.openFile
is for FAT filesystems (eg SD card) - it's not something that's even supported on Bangle.jsStorage.open
uses the Bangle.js flash storage, so that's that one I'd suggest. But even then, if you're just writing simple files (and not appending/streaming data) I'd suggest just usingStorage.write