From a8e1d2a86cc48992a0f84b55e927d7ba51e01442 Mon Sep 17 00:00:00 2001 From: Thomas Denney Date: Fri, 8 Jul 2016 14:30:45 +0100 Subject: [PATCH 1/2] Fixed '@params' in Neopixel blocks' docs --- libs/neopixel/neopixel.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/neopixel/neopixel.ts b/libs/neopixel/neopixel.ts index bd9230dc..7b937b5e 100644 --- a/libs/neopixel/neopixel.ts +++ b/libs/neopixel/neopixel.ts @@ -74,7 +74,7 @@ namespace neopixel { /** * Shift LEDs forward and clear with zeros. - * @params off number of pixels to shift forward, eg: 1 + * @param off number of pixels to shift forward, eg: 1 */ //% blockId="neopixel_shift" block="%strip|shift pixels forward by %off" blockGap=8 //% weight=40 @@ -84,7 +84,7 @@ namespace neopixel { /** * Rotate LEDs forward. - * @params off number of pixels to rotate forward, eg: 1 + * @param off number of pixels to rotate forward, eg: 1 */ //% blockId="neopixel_rotate" block="%strip|rotate pixels forward by %off" blockGap=8 //% weight=39 @@ -104,8 +104,8 @@ namespace neopixel { /** * Create a new NeoPixel driver for `numleds` LEDs. - * @params pin the pin where the neopixel is connected. - * @params numleds number of leds in the strip, eg: 24,30,60,64 + * @param pin the pin where the neopixel is connected. + * @param numleds number of leds in the strip, eg: 24,30,60,64 */ //% blockId="neopixel_create" block="neopixel create|at pin %pin|with %numleds leds" //% weight=90 From 81f74f07b24d62a402a66aef46651d03611b2925 Mon Sep 17 00:00:00 2001 From: Thomas Denney Date: Tue, 12 Jul 2016 09:46:46 +0100 Subject: [PATCH 2/2] Fix typo, resolve issue #165 --- docs/about.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/about.md b/docs/about.md index 77c0b8fb..31b5a929 100644 --- a/docs/about.md +++ b/docs/about.md @@ -31,7 +31,7 @@ Just like Arduino, the micro:bit can be connected to and interact with sensors, ## Hardware: The Device -Learn about about the [hardware components](/device) of the micro:bit to make the most of it! +Learn about the [hardware components](/device) of the micro:bit to make the most of it! ## Programming: Blocks or JavaScript