Skip to main content

Microsoft MakeCode

Microsoft MakeCode editor for micro:bit allows you to program your micro:bit using block-based programming language.

How to Add Extensions(or Packages)

Most hardware extensions (e.g. a motor controller) for micro:bit also comes with extensions (or packages) for the MakeCode editor. Adding the extensions to your project can make your life much easier controlling the features of your extension board. The following contents shows you how to add the extensions step-by-step:

  1. Find the access to the extension page by clicking setting icon:

or in the Advanced => Extensions block categories.

  1. Search the extension by keywords (e.g. ‘bitkit’)

or enter the github URL (eg.

  1. Click the extension and the Blocks and JavaScript definitions will be automatically loaded in the editor as shown below.

Programming steps

  • Step 1: Go to MakeCode:

  • Step 2: Connect the micro:bit to your PC with a USB cable. When successfully connected, the power indicator LED on the back of the micro:bit will light up. Open “This PC” and you will see that there is a MICROBIT drive in the list.

  • Step 3: Create a new project which takes you to the workspace, as shown below. Let’s write a simple program that will display a heart pattern on the LED matrix. Move on to the next step after you finish.

  • Step 4: Download the program to the micro:bit. Name your project a title, e.g. show heart icon.

First, click “Download” on the bottom left of the interface and select “Save as” in the pop-up dialog box to save the .hex file. Next, in another pop-up dialog box, select MICROBIT drive and click “Save” (If “Save as” isn’t found, you need to search for the downloaded .hex file yourself, then copy or drag it onto the MICROBIT drive). When downloading, the indicator blinks but will become steady once the process is finished.

Tech Support & Product Discussion

Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.

Loading Comments...