MakeCode

How to use radio group codes with the Makecode Editor
The radio blocks in MakeCode let you send instructions from one micro:bit to another. But what if you have multiple micro:bits transmiting and receiving da...
Wed, 26 Aug, 2020 at 1:30 PM
Forever runs before OnStart finishes
PROBLEM My Forever loop starts before the OnStart has finished I get runtime error 40 or 42, (NULL reference) CAUSE Under the covers, the micro...
Tue, 18 Apr, 2017 at 7:15 PM
Displaying live serial data from the micro:bit in the MakeCode console
Using the WebUSB feature available in makecode.microbit.org and using a Chrome-based browser like Google Chrome or Microsoft Edge, we are able to display li...
Mon, 20 Jun, 2022 at 1:28 PM
Publishing a user tutorial in a MakeCode project
In addition to publishing your own tutorials that guide users through a basic version of the editor, you can also create sidebar documentation by editing th...
Tue, 31 Aug, 2021 at 3:32 PM
MakeCode extension and tutorial approval
Overview The MakeCode editor allows users to publish their own extensions and tutorials that can then be used in the editor. This is useful for publishing ...
Thu, 29 Jun, 2023 at 4:21 PM
Randomly fill the LED screen
Press Button A to fill the LED screen in a random pattern
Tue, 5 Nov, 2019 at 2:11 PM
Initialising a Neopixel
To be able to turn a NeoPixel LED on or off, you must first initialise the NeoPixel class. This means that you are telling MakeCode that a number of Neopixl...
Fri, 11 Dec, 2020 at 12:48 PM
Taking Snapshots in MakeCode
Overview If you want to take snapshots of your code in MakeCode, you can do so easily. Snapshot You can save a .png file with an image of all the bloc...
Wed, 8 Oct, 2025 at 6:05 PM
MakeCode Python and MicroPython
The Python in the MakeCode editor is different to the MicroPython in the micro:bit Python Editor. Although both editors appear like Python 3 they actually a...
Thu, 22 Jul, 2021 at 1:48 PM
How to transfer Blocks between MakeCode projects using copy/paste method
Overview Sometimes you may want to copy Blocks from one MakeCode project to another. Switching the Blocks view to JavaScript lets you copy and paste cod...
Thu, 9 Oct, 2025 at 5:46 PM