2016-04-05 22:23:42 +02:00
|
|
|
# Basic
|
|
|
|
|
2019-12-02 05:58:26 +01:00
|
|
|
Use basic @boardname@ functions and actions.
|
2016-04-05 22:23:42 +02:00
|
|
|
|
|
|
|
```cards
|
|
|
|
basic.showNumber(0);
|
2019-12-02 05:58:26 +01:00
|
|
|
basic.showIcon(IconNames.Heart);
|
2016-04-05 22:23:42 +02:00
|
|
|
basic.showLeds(`
|
|
|
|
. . . . .
|
|
|
|
. . . . .
|
|
|
|
. . # . .
|
|
|
|
. . . . .
|
|
|
|
. . . . .
|
|
|
|
`);
|
2019-12-02 05:58:26 +01:00
|
|
|
basic.showString("hi!");
|
2016-04-05 22:23:42 +02:00
|
|
|
basic.clearScreen();
|
|
|
|
basic.forever(() => {
|
|
|
|
|
|
|
|
});
|
|
|
|
basic.pause(100);
|
2019-12-02 05:58:26 +01:00
|
|
|
basic.showArrow(ArrowNames.North);
|
2016-04-05 22:23:42 +02:00
|
|
|
```
|
2016-08-08 22:08:15 +02:00
|
|
|
|
2019-12-02 05:58:26 +01:00
|
|
|
## See also
|
2016-08-08 22:08:15 +02:00
|
|
|
|
2019-12-02 05:58:26 +01: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),
|
2019-12-02 05:58:26 +01:00
|
|
|
[showArrow](/reference/basic/show-arrow), [showAnimation](/reference/basic/show-animation)
|