24 lines
458 B
Markdown
24 lines
458 B
Markdown
# Bluetooth
|
|
|
|
Support for additional Bluetooth services.
|
|
|
|
```cards
|
|
bluetooth.startAccelerometerService();
|
|
bluetooth.startButtonService();
|
|
bluetooth.startIOPinService();
|
|
bluetooth.startLEDService();
|
|
bluetooth.startMagnetometerService();
|
|
bluetooth.startTemperatureService();
|
|
bluetooth.uartRead("");
|
|
bluetooth.uartWrite("");
|
|
bluetooth.onBluetoothConnected(() => {
|
|
|
|
});
|
|
bluetooth.onBluetoothDisconnected(() => {
|
|
|
|
});
|
|
```
|
|
|
|
```package
|
|
microbit-bluetooth
|
|
``` |