-
• #2
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
Hi Gordon
Can you explain the difference between E.openFile and storage.open? In existing apps, I see they use "storage.open" more often than E.openFile, but it isn't clear to me when I have to use which function.
https://www.espruino.com/Reference#t_l_E_openFile
https://www.espruino.com/Reference#l_Storage_open