updated bluetooth docs page

This commit is contained in:
Peli de Halleux
2016-06-24 09:02:14 -07:00
parent 6cfe39dac3
commit 5dd37a1494
2 changed files with 274 additions and 6 deletions

View File

@ -1,18 +1,22 @@
# Bluetooth
Support for additional Bluetooth services.
```cards
bluetooth.onBluetoothConnected(() => {
});
bluetooth.onBluetoothDisconnected(() => {
});
bluetooth.startAccelerometerService();
bluetooth.startButtonService();
bluetooth.startIOPinService();
bluetooth.startLEDService();
bluetooth.startMagnetometerService();
bluetooth.startTemperatureService();
bluetooth.uartRead("");
bluetooth.uartWrite("");
bluetooth.onBluetoothConnected(() => {
});
bluetooth.onBluetoothDisconnected(() => {
});
```
```package