updated ledBrightness block template
This commit is contained in:
		@@ -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",
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								libs/core/shims.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								libs/core/shims.d.ts
									
									
									
									
										vendored
									
									
								
							@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user