fixing docs issues
This commit is contained in:
		@@ -5,6 +5,22 @@
 | 
				
			|||||||
The [show number](/reference/basic/show-number) function displays a number on the [LED screen](/device/screen). 
 | 
					The [show number](/reference/basic/show-number) function displays a number on the [LED screen](/device/screen). 
 | 
				
			||||||
For example, this code displays the number 42:
 | 
					For example, this code displays the number 42:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```blocks
 | 
					```block
 | 
				
			||||||
basic.showNumber(42);
 | 
					basic.showNumber(42);
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### #declareexample
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```block
 | 
				
			||||||
 | 
					let num = 42;
 | 
				
			||||||
 | 
					basic.showNumber(42);
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### #functionreturnexample
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					For example the following code gets the display brightness 
 | 
				
			||||||
 | 
					(using the [brightness function](/reference/led/brightness)) and stores the value in a variable named `brightness`:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```block
 | 
				
			||||||
 | 
					let brightness = led.brightness()
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										9
									
								
								docs/types/var.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								docs/types/var.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
				
			|||||||
 | 
					# @extends
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### #letexample
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					A variable is created for the number returned by the [brightness](/reference/led/brightness) function.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```block
 | 
				
			||||||
 | 
					let b = led.brightness();
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
		Reference in New Issue
	
	Block a user