pxt-calliope/docs/reference/basic.md
2017-02-27 09:07:36 -08:00

796 B

Basic

Provides access to basic @boardname@ functionality.

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

See Also

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