2016-04-05 22:23:42 +02:00
|
|
|
# Basic
|
|
|
|
|
2017-07-24 22:40:36 +02:00
|
|
|
Use basic @boardname@ functions and actions.
|
2016-04-05 22:23:42 +02:00
|
|
|
|
|
|
|
```cards
|
|
|
|
basic.showNumber(0);
|
2017-02-27 18:07:36 +01:00
|
|
|
basic.showIcon(IconNames.Heart);
|
2016-04-05 22:23:42 +02:00
|
|
|
basic.showLeds(`
|
|
|
|
. . . . .
|
|
|
|
. . . . .
|
|
|
|
. . # . .
|
|
|
|
. . . . .
|
|
|
|
. . . . .
|
|
|
|
`);
|
|
|
|
basic.showString("Hello!");
|
|
|
|
basic.clearScreen();
|
|
|
|
basic.forever(() => {
|
|
|
|
|
|
|
|
});
|
|
|
|
basic.pause(100);
|
2017-02-27 19:51:52 +01:00
|
|
|
basic.showArrow(ArrowNames.North);
|
2016-04-05 22:23:42 +02:00
|
|
|
```
|
2016-08-08 22:08:15 +02:00
|
|
|
|
2017-09-07 22:42:08 +02:00
|
|
|
## See also
|
2016-08-08 22:08:15 +02:00
|
|
|
|
2017-02-27 18:07:36 +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),
|
2017-07-24 22:40:36 +02:00
|
|
|
[showArrow](/reference/basic/show-arrow), [showAnimation](/reference/basic/show-animation)
|