namspace docs

This commit is contained in:
Peli de Halleux
2016-04-05 13:23:42 -07:00
parent 0f56142317
commit cdd4798945
9 changed files with 194 additions and 322 deletions

35
docs/reference/basic.md Normal file
View File

@@ -0,0 +1,35 @@
# Basic
Provides access to basic micro:bit functionality.
```cards
basic.showNumber(0);
basic.showLeds(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`);
basic.showString("Hello!");
basic.clearScreen();
basic.forever(() => {
});
basic.pause(100);
basic.plotLeds(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`);
basic.showAnimation(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`);
```