pxt-calliope/docs/reference/bluetooth.md
2016-06-21 09:46:13 -07:00

20 lines
365 B
Markdown

# Bluetooth
```cards
bluetooth.onBluetoothConnected(() => {
});
bluetooth.onBluetoothDisconnected(() => {
});
bluetooth.startAccelerometerService();
bluetooth.startButtonService();
bluetooth.startIOPinService();
bluetooth.startLEDService();
bluetooth.startMagnetometerService();
bluetooth.startTemperatureService();
```
```package
microbit-bluetooth
```