pxt-calliope/docs/device/usb.md
2017-03-24 07:39:59 -07:00

39 lines
1.1 KiB
Markdown

# Uploading programs on your micro:bit
While you're writing and testing your programs, you'll mostly be [running them
in the simulator](/device/simulator), but once you've finished your program you
can **compile** it and run it on your micro:bit.
The basic steps are:
1. Connect your @boardname@ to your computer via USB
2. Click **Download** to download the `.hex` file
3. Move the `.hex` file from your computer onto the MICROBIT drive
### ~ hint
In Edge, Internet Explorer and Firefox, you can click on the **Save As** button on the bottom bar and save the ``.hex`` file
directly into the MICROBIT drive!
### ~
![](/static/mb/device/usb-thin.jpg)
## Instructions
Pick the instructions for your operating system and browser:
* [Windows - Microsoft Edge](/device/usb/windows-edge)
* [Windows - Internet Explorer](/device/usb/windows-ie)
* [Windows - Chrome](/device/usb/windows-chrome)
* [Windows - Firefox](/device/usb/windows-firefox)
* [Mac - Safari](/device/usb/mac-safari)
* [Mac - Chrome](/device/usb/mac-chrome)
* [Mac - Firefox](/device/usb/mac-firefox)
### ~hint
Transfer not working? See some [troubleshooting tips](/device/usb/troubleshooting).
### ~