Pages on this website will contain example code, in order for this code to work you will have to write the code into Mu and upload it using Mu to the Micro:Bit. DO NOT copy and paste the code from these webpages because they might contain white space that will create errors in Mu. Instead each Micropython tutorial has a compressed ZIP file to accompany it. Download this file, decompress it and load the .py file in MU. The upload the code to your Micro:bit using Mu.
Some ZIP files will contain extra examples with more complex code. You do not need to do this for the Arduino examples as Arduino IDE ignores white space.
All MicroPython tutorials are designed to work with Version 1 and 2 of the BBC Micro:Bit, Bit:Bot Classic and Bit:Bot XL. Tutorials that require version 2 only will be stated at the start of the tutorial.
Some MicroPython tutorials so not work with the Bit:Bot XL, I’m currently amending the tutorials to add XL support. The top of each will detail compatibility.
Arduino tutorials have not been tested with version 2 and will require the S113 softdevice, I will update this website once I have tested the tutorials with version 2.