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

365 B

Bluetooth

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