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, 31 Aug, 2021 at 3:32 PM
MakeCode extension approval
Overview The MakeCode editor allows users to publish their own extensions that can then be used in the editor. This is useful for publishing drivers for ac...
Wed, 3 Nov, 2021 at 12:12 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 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