pxt-calliope/docs/reference.md
2016-08-08 13:08:15 -07:00

931 B

Reference

basic.showNumber(0);
input.onButtonPressed(Button.A, () => {
    
});
music.playTone(0, 0);
led.plot(0, 0);
radio.sendNumber(0);
game.addScore(1);
images.createImage(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`);
pins.digitalReadPin(DigitalPin.P0);
serial.writeNumber(0);
control.inBackground(() => {
    
});

Advanced

devices.tellCameraTo(MesCameraEvent.TakePhoto);
bluetooth.onBluetoothConnected(() => {});
microbit-devices
microbit-bluetooth

See Also

basic, input, music, led, Math, String, game, images, pins, serial, control, radio, devices, bluetooth