updated bluetooth docs page
This commit is contained in:
1 parent
6cfe39dac3
commit
5dd37a1494
2 files changed
+274
-6
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user