Fixed '@params' in Neopixel blocks' docs
This commit is contained in:
parent
5099b11823
commit
a8e1d2a86c
@ -74,7 +74,7 @@ namespace neopixel {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Shift LEDs forward and clear with zeros.
|
* 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
|
//% blockId="neopixel_shift" block="%strip|shift pixels forward by %off" blockGap=8
|
||||||
//% weight=40
|
//% weight=40
|
||||||
@ -84,7 +84,7 @@ namespace neopixel {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Rotate LEDs forward.
|
* 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
|
//% blockId="neopixel_rotate" block="%strip|rotate pixels forward by %off" blockGap=8
|
||||||
//% weight=39
|
//% weight=39
|
||||||
@ -104,8 +104,8 @@ namespace neopixel {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new NeoPixel driver for `numleds` LEDs.
|
* Create a new NeoPixel driver for `numleds` LEDs.
|
||||||
* @params pin the pin where the neopixel is connected.
|
* @param pin the pin where the neopixel is connected.
|
||||||
* @params numleds number of leds in the strip, eg: 24,30,60,64
|
* @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"
|
//% blockId="neopixel_create" block="neopixel create|at pin %pin|with %numleds leds"
|
||||||
//% weight=90
|
//% weight=90
|
||||||
|
Loading…
Reference in New Issue
Block a user