pxt-calliope/docs/reference/bluetooth.md
Peli de Halleux 79113115e0 docs update
2016-07-27 10:57:18 -07:00

459 B

Bluetooth

Support for additional Bluetooth services.

bluetooth.startAccelerometerService();
bluetooth.startButtonService();
bluetooth.startIOPinService();
bluetooth.startLEDService();
bluetooth.startMagnetometerService();
bluetooth.startTemperatureService();
bluetooth.uartRead("");
bluetooth.uartWrite("");
bluetooth.onBluetoothConnected(() => {
    
});
bluetooth.onBluetoothDisconnected(() => {
    
});
microbit-bluetooth