adding reference pages for bluetooth
This commit is contained in:
		@@ -21,4 +21,16 @@ serial.writeNumber(0);
 | 
				
			|||||||
control.inBackground(() => {
 | 
					control.inBackground(() => {
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Advanced
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```namespaces
 | 
				
			||||||
 | 
					bluetooth.onBluetoothConnected(() => {
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```package
 | 
				
			||||||
 | 
					microbit-bluetooth
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
							
								
								
									
										20
									
								
								docs/reference/bluetooth.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								docs/reference/bluetooth.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
				
			|||||||
 | 
					# Bluetooth
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```cards
 | 
				
			||||||
 | 
					bluetooth.onBluetoothConnected(() => {
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					bluetooth.onBluetoothDisconnected(() => {
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					bluetooth.startAccelerometerService();
 | 
				
			||||||
 | 
					bluetooth.startButtonService();
 | 
				
			||||||
 | 
					bluetooth.startIOPinService();
 | 
				
			||||||
 | 
					bluetooth.startLEDService();
 | 
				
			||||||
 | 
					bluetooth.startMagnetometerService();
 | 
				
			||||||
 | 
					bluetooth.startTemperatureService();
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```package
 | 
				
			||||||
 | 
					microbit-bluetooth
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
		Reference in New Issue
	
	Block a user