Exploring the Filesystem
In the previous chapter, we worked with push buttons, slide switches, buzzers, and stepper motors. We used them with the Micro:bit and MicroPython. This chapter is a little bit of a detour from the hardware components we have been exploring.
This chapter focuses on the filesystem of Micro:bit. We will fully explore all the functionality and use cases pertaining to the filesystem. Here is a list of the topics we will cover in this chapter:
- Creating and reading files
- Appending a file
- Creating our own library
- The OS module
- Working with MicroFS
Let’s explore working with files with MicroPython and Micro:bit.