Transfer problems?
Transfer not working? See some troubleshooting tips.
While you’re writing and testing your programs, you’ll mostly be running them in the simulator, but once you’ve finished your program you can compile it and run it on your micro:bit.
The basic steps are:
.hex
file.hex
file into the MICROBIT driveYou need the following things to transfer and run a script on your micro:bit:
First, connect the micro:bit:
Connect the small end of the USB cable to the micro USB port on your micro:bit.
Connect the other end of the USB cable to a USB port on your computer.
Your computer should recognise your micro:bit as a new drive. On computers
running Windows, MICROBIT
appears as a drive under Devices and drives. On a Mac
it appears as a new drive under Devices.
A message will appear at the bottom of the browser asking what you want to do with the file. Click on the arrow next to Save and click Save As
In the save dialog, save as the .hex
file to the MICROBIT drive.
By copying the script onto the MICROBIT
drive, you have programmed it into the
flash memory on the micro:bit, which means even after you unplug the micro:bit,
your program will still run if the micro:bit is powered by battery.