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

@ -1,15 +1,15 @@
# Streaming
This page describes how to stream data from the micro:bit to the editor or even to the cloud.
This page describes how to stream data from the @boardname@ to the editor or even to the cloud.
## Before starting...
Make sure you follow the instructions on [how to setup a serial connection](/device/serial) with the micro:bit.
Make sure you follow the instructions on [how to setup a serial connection](/device/serial) with the @boardname@.
## A typical scenario
A common scenario is to chart some sensor data, such as the acceleration, and analyse it in the editor.
For example, run this code on your micro:bit.
For example, run this code on your @boardname@.
```blocks
basic.forever(() => {
@ -17,7 +17,7 @@ basic.forever(() => {
});
```
If your serial connection is working, you will start to see a chart representing that acceleration ``x`` value read from the micro:bit.
If your serial connection is working, you will start to see a chart representing that acceleration ``x`` value read from the @boardname@.
Each time ``led.plotBarGraph`` is called, the value is also written to the serial output. The log view automatically detects
that there is a data stream and displays a graph.