2016-04-05 22:23:42 +02:00
|
|
|
# Basic
|
|
|
|
|
2016-11-02 01:44:37 +01:00
|
|
|
Provides access to basic @boardname@ functionality.
|
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);
|
|
|
|
basic.plotLeds(`
|
|
|
|
. . . . .
|
|
|
|
. . . . .
|
|
|
|
. . # . .
|
|
|
|
. . . . .
|
|
|
|
. . . . .
|
|
|
|
`);
|
|
|
|
basic.showAnimation(`
|
|
|
|
. . . . .
|
|
|
|
. . . . .
|
|
|
|
. . # . .
|
|
|
|
. . . . .
|
|
|
|
. . . . .
|
|
|
|
`);
|
|
|
|
```
|
2016-08-08 22:08:15 +02:00
|
|
|
|
|
|
|
### See Also
|
|
|
|
|
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),
|
|
|
|
[showAnimation](/reference/basic/show-animation)
|