As I already wrote: I found my mistake myself. I should have used
let TestFile = Storage.open('4testing','w');
if (TestFile.write('Hello, World!')) {
print('file "4testing" was successfully created');
} else {
print('file "4testing" could not be created');
}
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.
As I already wrote: I found my mistake myself. I should have used
for creating the file.
Sorry for bothering you!