rename micro:bit to @boardname@

This commit is contained in:
Peli de Halleux
2016-11-01 17:44:37 -07:00
parent 9bc1e38345
commit 89406330cf
226 changed files with 697 additions and 750 deletions

View File

@ -8,7 +8,7 @@ Welcome! This tutorial will help you display an arrow pointing toward the logo!
### ~
Using the **accelerometer** sensor, the micro:bit can detect when the **logo** is oriented **up**. We call that the **logo up** event. We will use `on logo up` to register an event handler that will run when the **logo up** event happens.
Using the **accelerometer** sensor, the @boardname@ can detect when the **logo** is oriented **up**. We call that the **logo up** event. We will use `on logo up` to register an event handler that will run when the **logo up** event happens.
```blocks
input.onGesture(Gesture.LogoUp, () => {
@ -16,7 +16,7 @@ input.onGesture(Gesture.LogoUp, () => {
})
```
When the micro:bit goes logo up, the code nested under the `on logo up` function will run. Let's add a line of code to show LEDs in there.
When the @boardname@ goes logo up, the code nested under the `on logo up` function will run. Let's add a line of code to show LEDs in there.
```blocks
input.onGesture(Gesture.LogoUp, () => {
@ -30,7 +30,7 @@ input.onGesture(Gesture.LogoUp, () => {
})
```
Run your code and try to turn around the micro:bit to see the **logo up** event in action!
Run your code and try to turn around the @boardname@ to see the **logo up** event in action!
### ~avatar boothing