pxt-calliope/docs/reference/basic.md
Juri Wolf 5f7a8e5301
Updates for V4 (#197)
* update yotta defaults for 16kb devices

* refactor deprecated blocks

* updates for button events

* update button events

* update refference

* update docs

* update docs

* update button event blocks

* update docs

* update block id
2022-08-10 09:36:19 -07:00

675 B

Basic

Use basic @boardname@ functions and actions.

basic.showNumber(0);
basic.showIcon(IconNames.Heart);
basic.showLeds(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`);
basic.showString("hi!");
basic.clearScreen();
basic.forever(() => {
    
});
basic.pause(100);
basic.showIcon(IconNames.ArrowNorth);

See also

showNumber, showIcon, showLeds, showString, clearScreen, forever, pause, showAnimation