1012 B
1012 B
Devices
Control a phone with the @boardname@ via Bluetooth.
~ hint
App required You must use one of the micro:bit apps to use this functionality.
~
devices.tellCameraTo(MesCameraEvent.TakePhoto);
devices.tellRemoteControlTo(MesRemoteControlEvent.play);
devices.raiseAlertTo(MesAlertEvent.DisplayToast);
devices.onNotified(MesDeviceInfo.IncomingCall, () => {
});
devices.onGamepadButton(MesDpadButtonInfo.ADown, () => {
});
devices.signalStrength();
devices.onSignalStrengthChanged(() => {
});
devices
See Also
tellCameraTo, tellRemoteControlTo, raiseAlertTo, onNotified, onGamepadButton, signalStrength, onSignalStrengthChanged