updated ledBrightness block template

This commit is contained in:
Peli de Halleux 2017-08-07 11:54:24 -07:00
parent e7c1915076
commit 42a4401f8f
3 changed files with 3 additions and 3 deletions

View File

@ -264,7 +264,7 @@
"led.brightness|block": "brightness",
"led.enable|block": "led enable %on",
"led.plotBarGraph|block": "plot bar graph of %value |up to %high",
"led.plotBrightness|block": "plot|x %x|y %y|value %brightness",
"led.plotBrightness|block": "plot|x %x|y %y|brightness %brightness",
"led.plot|block": "plot|x %x|y %y",
"led.point|block": "point|x %x|y %y",
"led.setBrightness|block": "set brightness %value",

View File

@ -31,7 +31,7 @@ namespace led {
* @param brightness the brightness from 0 (off) to 255 (bright), eg:255
*/
//% help=led/plot weight=78
//% blockId=device_plot_brightness block="plot|x %x|y %y|value %brightness" blockGap=8
//% blockId=device_plot_brightness block="plot|x %x|y %y|brightness %brightness" blockGap=8
//% parts="ledmatrix"
//% x.min=0 x.max=4 y.min=0 y.max=4 brightness.min=0 brightness.max=255
//% advanced=true

View File

@ -457,7 +457,7 @@ declare namespace led {
* @param brightness the brightness from 0 (off) to 255 (bright), eg:255
*/
//% help=led/plot weight=78
//% blockId=device_plot_brightness block="plot|x %x|y %y|value %brightness" blockGap=8
//% blockId=device_plot_brightness block="plot|x %x|y %y|brightness %brightness" blockGap=8
//% parts="ledmatrix"
//% x.min=0 x.max=4 y.min=0 y.max=4 brightness.min=0 brightness.max=255
//% advanced=true shim=led::plotBrightness