Information about the MakeCode editor for the BBC micro:bit
Microsoft MakeCode for micro:bit is a free, open source platform for creating projects with the BBC micro:bit.
The source code for MakeCode for micro:bit target can be found at github.com/Microsoft/pxt-microbit
This target depends on several other repositories:
- https://github.com/Microsoft/pxt the PXT framework
- https://github.com/Microsoft/pxt-common-packages common APIs across various MakeCode editors
- https://github.com/lancaster-university/microbit basic wrapper around the DAL
- https://github.com/lancaster-university/microbit-dal the micro:bit DAL
MakeCode uses a built-in compiler to translate a project into a .hex file when you select Download.
This has the advantage of not requiring an internet connection in order to code the micro:bit. Once the browser editor at makecode.microbit.org loads, it is cached on your computer.
When you press Download the compiler converts the code into a machine readable hex file format.
When this .hex file is flashed onto the MICROBIT drive, the KL26/7 interface processor on the micro:bit copies it into the flash memory inside the nRF application processor and the code runs.
An app is available for Windows 10
An offline version of the MakeCode editor is available for use in situations where there is limited or no internet connectivity.
- MakeCode for micro:bit reference provides information and examples on using the blocks
- MakeCode Technical Docs for general development
Users can publish their own tutorials for simple, guided steps on using MakeCode. Tutorials also support third party extensions.
There are a variety of ways to get involved and interact: