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

@ -2,7 +2,7 @@
Get the acceleration value (milli g-force), in one of three specified dimensions.
Find the acceleration of the micro:bit (how fast it is speeding up or slowing down).
Find the acceleration of the @boardname@ (how fast it is speeding up or slowing down).
```sig
input.acceleration(Dimension.X);
@ -23,11 +23,11 @@ A **g** is as much acceleration as you get from Earth's gravity.
### Returns
* a [number](/reference/types/number) that means the amount of acceleration. When the micro:bit is lying flat on a surface with the screen pointing up, `x` is `0`, `y` is `0`, and `z` is `-1023`.
* a [number](/reference/types/number) that means the amount of acceleration. When the @boardname@ is lying flat on a surface with the screen pointing up, `x` is `0`, `y` is `0`, and `z` is `-1023`.
### Example: bar chart
This example shows the acceleration of the micro:bit with a bar graph.
This example shows the acceleration of the @boardname@ with a bar graph.
```blocks
basic.forever(() => {