pxt-calliope/docs/reference/basic.md

31 lines
715 B
Markdown

# Basic
Use basic @boardname@ functions and actions.
```cards
basic.showNumber(0);
basic.showIcon(IconNames.Heart);
basic.showLeds(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`);
basic.showString("hi!");
basic.clearScreen();
basic.forever(() => {
});
basic.pause(100);
basic.showArrow(ArrowNames.North);
```
## See also
[showNumber](/reference/basic/show-number),
[showIcon](/reference/basic/show-icon),
[showLeds](/reference/basic/show-leds), [showString](/reference/basic/show-string),
[clearScreen](/reference/basic/clear-screen), [forever](/reference/basic/forever), [pause](/reference/basic/pause),
[showArrow](/reference/basic/show-arrow), [showAnimation](/reference/basic/show-animation)