pxt-calliope/docs/reference/bluetooth.md
2016-06-24 09:02:14 -07:00

458 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