update lessons

This commit is contained in:
Michael Elliot Braun
2016-04-25 14:42:47 -07:00
parent 269bdb82a6
commit 0bcb9c16fa
3 changed files with 23 additions and 7 deletions

View File

@ -1,11 +1,27 @@
# charting activity
Measure the acceleration on the micro:bit in the "z" direction.
Measure the acceleration on the micro:bit in the "x" direction.
### ~avatar avatar
Welcome! This activity will teach how to use the 1st micro:bit to chart the second micro:bit's acceleration in the "x" direction. Let's get started!
### ~
Let's measure `acceleration (mg)` in the "x" direction. Get the acceleration value (milli g-force), in one of three specified dimensions.
```blocks
input.acceleration(Dimension.X)
```
### ~
```blocks
### ~
Let's measure `acceleration (mg)` and then `send number`. `Acceleration` is measured in **milli-gravities**, so a value of -1000 is equivalent to -1g or -9.81m/s^2. We will be able to get the acceleration value (g-force), in the specified "x" dimension. `Send number` will broadcast a number data packet to other micro:bits connected via radio.