This recipe will show you how to flash your Python scripts to the micro:bit. The Mu text editor has built-in support for flashing code to this type of board, and this recipe will take you through this process. Once we understand this, we can use it to develop and load whatever scripts we need onto the micro:bit board. This is an essential first step whenever you want to create projects and experiment with the micro:bit.
Using Mu to flash code onto the micro:bit
Getting ready
You will need to install the Mu text editor for this recipe. Follow the instructions in Chapter 1, Getting Started with MicroPython, regarding the installation of the Mu text editor.