From a8e1d2a86cc48992a0f84b55e927d7ba51e01442 Mon Sep 17 00:00:00 2001 From: Thomas Denney Date: Fri, 8 Jul 2016 14:30:45 +0100 Subject: [PATCH] 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