From e103cf8e76a1bbfd46dd9e1603064900eed01618 Mon Sep 17 00:00:00 2001 From: Galen Nickel Date: Mon, 5 Mar 2018 15:31:09 -0800 Subject: [PATCH 1/3] Typos from the latest translator sweep (#687) * Typos from the latest translator sweep * Fix heading level for examples --- docs/device.md | 4 ++-- docs/types/number.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/device.md b/docs/device.md index db1925fa..98439a35 100644 --- a/docs/device.md +++ b/docs/device.md @@ -98,7 +98,7 @@ You can attach an external device such as a motor to these and power it using th ## 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 @@ -111,4 +111,4 @@ control the micro:bit or the micro:bit can control another BLE device. ## Technical Information 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/). diff --git a/docs/types/number.md b/docs/types/number.md index 4328a759..a8af5afc 100644 --- a/docs/types/number.md +++ b/docs/types/number.md @@ -9,14 +9,14 @@ For example, this code displays the number 42: basic.showNumber(42); ``` -## #declareexample +### #declareexample ```block let num = 42; basic.showNumber(42); ``` -## #functionreturnexample +### #functionreturnexample 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`: From f9354977f72461cebaf4490726a5db2a2afcb6d8 Mon Sep 17 00:00:00 2001 From: bosnivan Date: Tue, 6 Mar 2018 00:31:43 +0100 Subject: [PATCH 2/3] Fixed comment for onEvent() (#688) --- libs/core/control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/core/control.cpp b/libs/core/control.cpp index f01ad250..c632410f 100644 --- a/libs/core/control.cpp +++ b/libs/core/control.cpp @@ -256,7 +256,7 @@ namespace control { } /** - * Raises an event in the event bus. + * Registers an event handler. */ //% weight=20 blockGap=8 blockId="control_on_event" block="on event|from %src=control_event_source_id|with value %value=control_event_value_id" //% help=control/on-event From f493b89dfb77c0aac794db8643b69598814c805b Mon Sep 17 00:00:00 2001 From: Abhijith Chatra Date: Mon, 5 Mar 2018 15:39:03 -0800 Subject: [PATCH 3/3] Release of micro:bit editor 0.14.22 (#693) --- docs/index-ref.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index-ref.json b/docs/index-ref.json index f67f10d0..3e1a12e2 100644 --- a/docs/index-ref.json +++ b/docs/index-ref.json @@ -1,3 +1,3 @@ { - "appref": "v0.14.18" + "appref": "v0.14.22" }