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...
Tue, 9 Mar, 2021 at 8:59 AM
Locking and unlocking Makecode Editor .hex files
The Makecode Editor attempts to embed a compressed version of the original program source code into the .hex file, if there is space for it. This is so that...
Thu, 6 Dec, 2018 at 3:41 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, 14 Jan, 2020 at 3:14 PM
MakeCode extension approval
Adding Extensions The MakeCode editor allows users to publish their own extensions that can then be used in the editor. This is useful for publishing ...
Thu, 5 Nov, 2020 at 4:59 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/screengrabs in MakeCode
You can download clear images of the blocks, using the snapshot tool. Right-click/tap and hold anywhere in the workspace to use it. Selecting Snapsh...
Tue, 14 Apr, 2020 at 10:07 AM
MakeCode Python and MicroPython
The Python in our MakeCode editor is different to the MicroPython in our Python editor. Although both editors appear like Python 3 they actually are complet...
Fri, 4 Sep, 2020 at 2:00 PM