From f7531ea9b028918a6079470d39e0b4160bd87a4c Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Wed, 13 Apr 2016 08:55:20 -0700 Subject: [PATCH] fix for #4 --- libs/microbit/input.cpp | 2 +- libs/microbit/shims.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/microbit/input.cpp b/libs/microbit/input.cpp index 87028b87..2b7ced65 100644 --- a/libs/microbit/input.cpp +++ b/libs/microbit/input.cpp @@ -202,7 +202,7 @@ namespace input { /** - * Reads the light level applied to the LED screen in a range from ``0`` (dark) to ``255`` bright. In the simulator, the ``acceleration y`` is used to emulate this value. + * Reads the light level applied to the LED screen in a range from ``0`` (dark) to ``255`` bright. */ //% help=input/light-level weight=53 //% blockId=device_get_light_level block="light level" blockGap=8 icon="\uf185" diff --git a/libs/microbit/shims.d.ts b/libs/microbit/shims.d.ts index 527d89c8..3838b948 100644 --- a/libs/microbit/shims.d.ts +++ b/libs/microbit/shims.d.ts @@ -257,7 +257,7 @@ declare namespace input { function acceleration(dimension: Dimension): number; /** - * Reads the light level applied to the LED screen in a range from ``0`` (dark) to ``255`` bright. In the simulator, the ``acceleration y`` is used to emulate this value. + * Reads the light level applied to the LED screen in a range from ``0`` (dark) to ``255`` bright. */ //% help=input/light-level weight=53 //% blockId=device_get_light_level block="light level" blockGap=8 icon="\uf185" shim=input::lightLevel