Overview


The third-party Mu editor does not yet fully support micro:bit V2 devices, but work is in progress to do so.


It is possible to use Mu with a micro:bit V2 if you flash a compatible version of MicroPython to the board first.


You can do this by going to the Micro:bit Educational Foundation Python Editor at python.microbit.org and flashing the default program to the micro:bit.



To check that you can successfully communicate with the V2 device, when you open Mu, click on the REPL button. You should see the micro:bit MicroPython version identified as v2.0.0-beta.1


You can now use the REPL to dynamically interact with the device.


Flashing a Python file to the micro:bit V2 in Mu

Once you have an up-to-date version of MicroPython on the board,  if you want to flash a Python script, you can do so in the following way:


  1. Click on Save and then click on the Files button.
  2.  Copy main.py from the Files on your computer to the Files on your micro:bit




The micro:bit will then run your program