adding reference pages for bluetooth

This commit is contained in:
Peli de Halleux 2016-06-21 09:46:13 -07:00
parent adf21fee6f
commit 5d8193301c
2 changed files with 32 additions and 0 deletions

View File

@ -21,4 +21,16 @@ serial.writeNumber(0);
control.inBackground(() => {
});
```
## Advanced
```namespaces
bluetooth.onBluetoothConnected(() => {
});
```
```package
microbit-bluetooth
```

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
```