Merge pull request #164 from thomasdenney/master

Fixed '@params' in Neopixel blocks' docs and 'about about'
This commit is contained in:
Thomas Denney 2016-07-15 08:47:59 +01:00 committed by GitHub
commit 2d09aef287
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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