© Pradeeka Seneviratne 2018
Pradeeka SeneviratneBeginning BBC micro:bithttps://doi.org/10.1007/978-1-4842-3360-3_8

8. Storing and Manipulating Files

Pradeeka Seneviratne1 
(1)
Mulleriyawa, Sri Lanka
 

micro:bit provides a persistent file system that allows you to store files in the flash memory. The size of the storage reserved for the file system is approximately 30KB. However, micro:bit provides a flat file system, so you can’t store files in directories to create a hierarchy. The stored files will remain intact until you either delete them or re-flash the device.

In this chapter, you learn how to store files in the micro:bit internal storage and manipulate them with some OS functions. Then you learn about the MicroFS utility that can be used to manipulate ...

Get Beginning BBC micro:bit: A Practical Introduction to micro:bit Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.