The tool’s interface below is still in French. The interface is being translated by Google Translate.
micro:bit simulator
Draw on the 25 LEDs, program the buttons and the shake, test on the virtual board, then copy the code for MakeCode.
Images
Programme
Carte virtuelle
Code MakeCode
Dans makecode.microbit.org, créez un projet, passez en mode Python ou JavaScript (en haut de l’écran), collez le code : les blocs correspondants apparaissent en revenant au mode Blocs.
How to use the micro:bit simulator
A micro:bit board simulator: drawing on the 25 LEDs, animations, buttons A and B, shake, and MakeCode in Python or JavaScript.
-
Draw the images
Or start from a template.
-
Program the events
Start, buttons, shake.
-
Copy the code
To paste into MakeCode.
About the micro:bit simulator
The virtual board reacts like the real one: scrolling text, electronic die, score counter, frame-by-frame animation.
The generated code uses MakeCode functions (basic.show_leds, input.on_button_pressed): pasted into the editor, it comes back as blocks.
Frequently asked questions about the micro:bit simulator
Do I need to own a board?
Not to test; yes to transfer the program, from makecode.microbit.org.
Can I adjust the brightness?
The simulator handles LEDs on or off, like the “show leds” block.
Can I use these sheets in class?
Yes, freely and at no cost: the documents you generate are yours, with no account and no watermark.