How to Create, Read and Write to File with Microbit
Example code to create file, write to it, then display the files. [crayon-693c2f98df0fb638625009-i/] s the [crayon-693c2f98df103022302879-i/] library for working with files Opens (or creates if doesn’t’ exist) a file called “foo.txt” Then it writes the text “hello world” to the text file We then do a quick loop to concatenate all the files listed ([crayon-693c2f98df105211160900-i/] ) Lastly, we … Continue reading How to Create, Read and Write to Fi...
