Transferring a Program to the BBC micro:bit
Transferring a Program to the BBC microbit:
After you've created your first program you'll need to compile it and transfer it to the BBC microbit. This process is very simple, and if you follow our guide you'll be up and running in no time.
Learn how to:
- Compile a program and transfer it the BBC microbit.
Compiling the program.
Press the 'compile' button. If your script has compiled successfully, it will return the message 'Your .hex file is ready. Drag and drop it onto your BBC microbit device here'.
The download process will depend on the internet browser you are using:
- If you are using Internet Explorer: the message 'Do you want to open or save microbit-script.hex from microbit.co.uk?' will appear. Click 'Save As' to save it into your 'Downloads' folder.
- If you are using Google Chrome: the .hex file will appear at the bottom of the browser screen.
- If you are using Mozilla Firefox: the message 'You have chosen to open: microbit-script.hex. What should Firefox do with this file?' will appear. Make sure 'Save File' is selected and click 'OK' to save the file into your 'Downloads' folder,
Next, plug a BBC microbit into the computer via the USB cable. The BBC microbit will appear as a removable drive on the computer something like this:
To download the .hex file to the BBC microbit. 'Drag' the .hex file from the folder where it was saved and 'Drop' it onto the 'MICROBIT' removable drive. A message will appear saying 'Copying 1 item to MICROBIT'. At the same time, the yellow LED on the back of the BBC microbit will flash. After a few seconds, the download will complete and the BBC microbit should now be running the program. If the LED doesn't flash during this process; you may need to press the 'reset' button which is located next to the Status LED on the back of the BBC microbit.