pxt-calliope/docs/reference/bluetooth.md

20 lines
365 B
Markdown
Raw Normal View History

2016-06-21 18:46:13 +02:00
# Bluetooth
```cards
bluetooth.onBluetoothConnected(() => {
});
bluetooth.onBluetoothDisconnected(() => {
});
bluetooth.startAccelerometerService();
bluetooth.startButtonService();
bluetooth.startIOPinService();
bluetooth.startLEDService();
bluetooth.startMagnetometerService();
bluetooth.startTemperatureService();
```
```package
microbit-bluetooth
```