Merge pull request #207 from Microsoft/microsoftsam/compiletodownload

Converting the term "Compile" to "Download" in the docs
This commit is contained in:
Peli de Halleux 2016-08-18 14:39:29 -07:00 committed by GitHub
commit 53189830a1
10 changed files with 16 additions and 16 deletions

View File

@ -40,7 +40,7 @@ Next, compile your script:
2. Open your script (find the script in **My Scripts** and click `Edit`). 2. Open your script (find the script in **My Scripts** and click `Edit`).
3. Click `compile`. Your script is converted into a hex file that you can transfer and run on your micro:bit. 3. Click **Download**. Your script is converted into a hex file that you can transfer and run on your micro:bit.
4. When prompted, choose to save the compiled file on your computer (or anywhere other than the micro:bit). Depending on which browser you are using, the download will adopt the download behaviour of that particular browser. 4. When prompted, choose to save the compiled file on your computer (or anywhere other than the micro:bit). Depending on which browser you are using, the download will adopt the download behaviour of that particular browser.
@ -66,13 +66,13 @@ A dialogue box will appear, asking whether you would like to open or save your h
**IE10** **IE10**
Click on compile. You will see a message “Do you want to save this .hex file.” Select **Save**. Click on **Download**. You will see a message “Do you want to save this .hex file.” Select **Save**.
### Mac ### Mac
** Safari** ** Safari**
When you select **compile** in Safari on Mac, your file will be downloaded to your downloads folder. Go to your downloads folder and open the file. In Safari the file will appear as unknown.txt rather than a named .hex file. Drag and drop it onto your MICROBIT drive. When you select **Download** in Safari on Mac, your file will be downloaded to your downloads folder. Go to your downloads folder and open the file. In Safari the file will appear as unknown.txt rather than a named .hex file. Drag and drop it onto your MICROBIT drive.
![](/static/mb/device/usb-4.jpg) ![](/static/mb/device/usb-4.jpg)
@ -86,7 +86,7 @@ A dialogue box will appear, asking whether you would like to open or save your h
**Chrome** **Chrome**
When you select **compile** in Chrome, the file will be downloaded to the bottom of the browser in .hex format. Click on the small arrow and select **Show in Finder**. This will show the file in your download folder. Drag and drop the file onto your MICROBIT drive. When you select **Download** in Chrome, the file will be downloaded to the bottom of the browser in .hex format. Click on the small arrow and select **Show in Finder**. This will show the file in your download folder. Drag and drop the file onto your MICROBIT drive.
![](/static/mb/device/usb-7.jpg) ![](/static/mb/device/usb-7.jpg)

View File

@ -35,7 +35,7 @@ When this program runs, you will see a smiley face, then a blank
screen, then a smiley again -- it never stops! (That's because of the screen, then a smiley again -- it never stops! (That's because of the
``forever`` block.) ``forever`` block.)
Click **Compile** to move your program to the BBC micro:bit! Click **Download** to move your program to the BBC micro:bit!
Make sure to follow the instructions. Make sure to follow the instructions.
### ~button /getting-started/screen ### ~button /getting-started/screen

View File

@ -37,7 +37,7 @@ You can find the letter `B` by clicking the letter `A` on the
#### ~ #### ~
Click **Compile** to move your program to the BBC micro:bit! Click **Download** to move your program to the BBC micro:bit!
#### Your turn! #### Your turn!
@ -65,7 +65,7 @@ input.onPinPressed(TouchPin.P0, () => {
. . # . .`); . . # . .`);
}); });
``` ```
Click **Compile** to move your program to the BBC micro:bit! Click **Download** to move your program to the BBC micro:bit!
## ~hint ## ~hint

View File

@ -152,7 +152,7 @@ That's why you can use an ``else`` instead of an ``else if``.
Your game is ready! Your game is ready!
Click **Compile** to move your program to the BBC micro:bit! Click **Download** to move your program to the BBC micro:bit!
Have fun! Have fun!
@ -198,7 +198,7 @@ input.onButtonPressed(Button.B, () => {
basic.showNumber(game.score()) basic.showNumber(game.score())
}) })
``` ```
Click **Compile** to move your program to the BBC micro:bit! Click **Download** to move your program to the BBC micro:bit!
### ~button /projects ### ~button /projects
NEXT: PROJECTS! NEXT: PROJECTS!

View File

@ -32,7 +32,7 @@ basic.forever(() => {
`) `)
}); });
``` ```
Click **Compile** to move your program to the BBC micro:bit! Click **Download** to move your program to the BBC micro:bit!
### Your turn! ### Your turn!
@ -85,7 +85,7 @@ basic.forever(() => {
`) `)
}); });
``` ```
Click **Compile** to move your program to the BBC micro:bit! Click **Download** to move your program to the BBC micro:bit!
#### ~hint #### ~hint

View File

@ -17,7 +17,7 @@ input.onGesture(Gesture.Shake, () => {
# . . . #`); # . . . #`);
}); });
``` ```
Click **Compile** to move your program to the BBC micro:bit! Click **Download** to move your program to the BBC micro:bit!
### ~button /getting-started/coin-flipper ### ~button /getting-started/coin-flipper
NEXT: COIN FLIPPER GAME NEXT: COIN FLIPPER GAME

View File

@ -42,7 +42,7 @@ We want the message "Press A!" to scroll across the BBC micro:bit, so right-clic
![](/static/mb/blocks/lessons/blocks-conditions-2.png) ![](/static/mb/blocks/lessons/blocks-conditions-2.png)
So, to recap: the `forever` block makes sure our code runs forever. The BBC micro:bit checks if the user is pressing the left button, if the user is not then the “Press the button!” message will scroll across the LEDs. If the user is pressing the button then the “hello, world!” message will scroll across the screen. Check this in the simulator or attach the BBC micro:bit to the computer then click **compile** to send the code onto the BBC micro:bit. So, to recap: the `forever` block makes sure our code runs forever. The BBC micro:bit checks if the user is pressing the left button, if the user is not then the “Press the button!” message will scroll across the LEDs. If the user is pressing the button then the “hello, world!” message will scroll across the screen. Check this in the simulator or attach the BBC micro:bit to the computer then click **Download** to send the code onto the BBC micro:bit.
## What is a condition? ## What is a condition?

View File

@ -92,7 +92,7 @@ Connect a micro:bit to your computer using your USB cable
![](/static/mb/lessons/seismograph33.png) ![](/static/mb/lessons/seismograph33.png)
Click or tap the compile button for the seismograph program to run the program on the micro:bit. Click or tap the **Download** button for the seismograph program to run the program on the micro:bit.
![](/static/mb/lessons/seismograph22.png) ![](/static/mb/lessons/seismograph22.png)

View File

@ -69,7 +69,7 @@ input.onButtonPressed(Button.A, () => {
}); });
``` ```
* click *compile* and run your code on the micro:bit. * click **Download** and run your code on the micro:bit.
### ~button /projects/banana-keyboard ### ~button /projects/banana-keyboard
NEXT: Banana Keyboard NEXT: Banana Keyboard

View File

@ -29,7 +29,7 @@ radio.onDataReceived(() => {
}) })
``` ```
Compile the program and **upload the same .hex file to 2 devices!** Download the program and **upload the same .hex file to 2 devices!**
## Step 3 ## Step 3