Typos from the latest translator sweep (#687)
* Typos from the latest translator sweep * Fix heading level for examples
This commit is contained in:
committed by
Peli de Halleux
parent
4ac8b41751
commit
e103cf8e76
@ -98,7 +98,7 @@ You can attach an external device such as a motor to these and power it using th
|
|||||||
|
|
||||||
## Serial Communication
|
## Serial Communication
|
||||||
|
|
||||||
The micro:bit can send an receive data via [serial communication](/device/serial). The serial data can be transfered via USB or BLE.
|
The micro:bit can send and receive data via [serial communication](/device/serial). The serial data can be transfered via USB or BLE.
|
||||||
|
|
||||||
## Bluetooth Low Energy (BLE) Antenna
|
## Bluetooth Low Energy (BLE) Antenna
|
||||||
|
|
||||||
@ -111,4 +111,4 @@ control the micro:bit or the micro:bit can control another BLE device.
|
|||||||
## Technical Information
|
## Technical Information
|
||||||
|
|
||||||
The micro:bit has been designed to be a bare-board micro controller for use by children aged 11-12.
|
The micro:bit has been designed to be a bare-board micro controller for use by children aged 11-12.
|
||||||
More information is available at the [Microbit Foundation web site](https://microbit.org/guide/.
|
More information is available at the [Microbit Foundation web site](https://microbit.org/guide/).
|
||||||
|
@ -9,14 +9,14 @@ For example, this code displays the number 42:
|
|||||||
basic.showNumber(42);
|
basic.showNumber(42);
|
||||||
```
|
```
|
||||||
|
|
||||||
## #declareexample
|
### #declareexample
|
||||||
|
|
||||||
```block
|
```block
|
||||||
let num = 42;
|
let num = 42;
|
||||||
basic.showNumber(42);
|
basic.showNumber(42);
|
||||||
```
|
```
|
||||||
|
|
||||||
## #functionreturnexample
|
### #functionreturnexample
|
||||||
|
|
||||||
For example the following code gets the display brightness
|
For example the following code gets the display brightness
|
||||||
(using the [brightness function](/reference/led/brightness)) and stores the value in a variable named `brightness`:
|
(using the [brightness function](/reference/led/brightness)) and stores the value in a variable named `brightness`:
|
||||||
|
Reference in New Issue
Block a user