pxt-calliope/docs/reference/basic.md
Galen Nickel fa37f1fac0 Batch of fixes from the Lancaster doc review (#451)
* Local commit.

* local commit

* Doc fixes from Lancaster review.

* I don't want to change these yet.

* Trailing newlines, arrr.

* Get the 'Game' cards setup.

* Take block support off of 'show animation'.

* Add 'see also' for showArrow().
2017-07-24 13:40:36 -07:00

38 lines
795 B
Markdown

# Basic
Use basic @boardname@ functions and actions.
```cards
basic.showNumber(0);
basic.showIcon(IconNames.Heart);
basic.showLeds(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`);
basic.showString("Hello!");
basic.clearScreen();
basic.forever(() => {
});
basic.pause(100);
basic.showArrow(ArrowNames.North);
basic.showAnimation(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`);
```
### 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)