18 lines
401 B
Markdown
18 lines
401 B
Markdown
# Reference
|
|
|
|
```namespaces
|
|
basic.showString("Hello!");
|
|
input.onButtonPressed(Button.A, () => {});
|
|
for (let i = 0;i<5;++i) {}
|
|
if (true){}
|
|
let x = 0;
|
|
Math.random(5);
|
|
led.plot(0,0);
|
|
radio.sendNumber(0);
|
|
music.playTone(music.noteFrequency(Note.C), music.beat(BeatFraction.Whole));
|
|
game.createSprite(2,2);
|
|
pins.digitalReadPin(DigitalPin.P0);
|
|
serial.writeLine("Hello!");
|
|
control.inBackground(() => {});
|
|
```
|