pxt-calliope/docs/reference/basic.md

31 lines
676 B
Markdown
Raw Permalink Normal View History

2016-04-05 22:23:42 +02:00
# Basic
Use basic @boardname@ functions and actions.
2016-04-05 22:23:42 +02:00
```cards
basic.showNumber(0);
basic.showIcon(IconNames.Heart);
2016-04-05 22:23:42 +02:00
basic.showLeds(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`);
basic.showString("hi!");
2016-04-05 22:23:42 +02:00
basic.clearScreen();
basic.forever(() => {
});
basic.pause(100);
basic.showIcon(IconNames.ArrowNorth);
2016-04-05 22:23:42 +02:00
```
2016-08-08 22:08:15 +02:00
## See also
2016-08-08 22:08:15 +02:00
[showNumber](/reference/basic/show-number),
[showIcon](/reference/basic/show-icon),
[showLeds](/reference/basic/show-leds), [showString](/reference/basic/show-string),
2016-10-23 08:04:08 +02:00
[clearScreen](/reference/basic/clear-screen), [forever](/reference/basic/forever), [pause](/reference/basic/pause),
[showAnimation](/reference/basic/show-animation)