pxt-calliope/docs/device/usb.md

32 lines
997 B
Markdown
Raw Normal View History

2016-09-15 20:04:45 +02:00
# Uploading programs on your micro:bit
2016-03-26 00:47:20 +01:00
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.
2016-03-26 00:47:20 +01:00
The basic steps are:
1. Connect your micro:bit to your computer via USB
2. Click **Download** and download the `.hex` file
3. Copy the `.hex` file from your computer onto the micro:bit drive
2016-03-26 00:47:20 +01:00
2016-09-15 17:35:01 +02:00
![](/static/mb/device/usb-thin.jpg)
2016-03-26 00:47:20 +01:00
2016-09-15 17:35:01 +02:00
## Instructions
2016-03-26 00:47:20 +01:00
2016-09-15 17:35:01 +02:00
Pick the instructions for your operating system and browser:
2016-03-26 00:47:20 +01:00
2016-09-15 17:35:01 +02:00
* [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)
2016-03-26 00:47:20 +01:00
2016-09-15 17:35:01 +02:00
### ~hint
2016-03-26 00:47:20 +01:00
2016-09-15 17:35:01 +02:00
Transfer not working? See some [troubleshooting tips](/device/usb/troubleshooting).
2016-03-26 00:47:20 +01:00
2016-09-15 17:35:01 +02:00
### ~