2016-03-26 00:47:20 +01:00
|
|
|
# Reference
|
|
|
|
|
2016-04-05 22:23:42 +02:00
|
|
|
```namespaces
|
|
|
|
basic.showString("Hello!");
|
|
|
|
input.onButtonPressed(Button.A, () => {});
|
2016-04-06 08:11:48 +02:00
|
|
|
for (let i = 0;i<5;++i) {}
|
|
|
|
if (true){}
|
|
|
|
let x = 0;
|
|
|
|
Math.random(5);
|
2016-04-05 22:23:42 +02:00
|
|
|
led.plot(0,0);
|
|
|
|
radio.sendNumber(0);
|
|
|
|
music.playTone(music.noteFrequency(Note.C), music.beat(BeatFraction.Whole));
|
2016-04-06 00:59:25 +02:00
|
|
|
game.createSprite(2,2);
|
2016-04-05 22:23:42 +02:00
|
|
|
pins.digitalReadPin(DigitalPin.P0);
|
2016-04-06 00:59:25 +02:00
|
|
|
serial.writeLine("Hello!");
|
2016-04-05 22:23:42 +02:00
|
|
|
control.inBackground(() => {});
|
2016-03-26 00:47:20 +01:00
|
|
|
```
|