If you want to make sure your micro:bit is working properly, do the following: 

  1. Download this test program from Makecode or the hex attached to this article which runs a loop displaying a smiley face.

  2. Connect your micro:bit to your computer with a USB cable capable of power and data transfer*. A MICROBIT drive should appear in your file manager.

    When you power a micro:bit from the USB port of a computer, the red power LED (V2 only) and yellow USB LED on the back should light up. If it does not, then you should check another USB port on your computer, or another computer.

  3. Drag and drop the .hex file onto the MICROBIT drive, and the yellow USB LED on the back should flash for about 30 seconds while it 'flashes' the code into the memory of the device. Wait for the LED to stop flashing. The code should start automatically, and it should show a face on the screen with a mouth that moves up and down.

If all of these steps work, but you do not get a face on the LED screen of the micro:bit, then it is possible that your micro:bit has developed a fault. Try working through our troubleshooting article using the same steps with another micro:bit if you can (e.g. borrow one from a friend/library), and if your micro:bit does not pass this test, please contact the reseller that you purchased the micro:bit from and ask them about their returns policy.

Keywords for search: micro:bit not working,Code, program, does not run, does not work, broken micro:bit, broke, faulty