adding reference pages for bluetooth

This commit is contained in:
Peli de Halleux committed 2016-06-21 09:46:13 -07:00
1 parent adf21fee6f
commit 5d8193301c
2 files changed
+32

No files matched your search

+12
View File
@@ -21,4 +21,16 @@ serial.writeNumber(0);
control.inBackground(() => {
});
```
## Advanced
```namespaces
bluetooth.onBluetoothConnected(() => {
});
```
```package
microbit-bluetooth
```
+20
View 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
```