Start on the 'brick' api topics (#280)

* Start on the 'brick' api topics

* Add the delay to clear screen example

* Better output for clearsceen example
This commit is contained in:
Galen Nickel
2018-01-30 17:02:22 -08:00
committed by Peli de Halleux
parent e06659ab4c
commit 4f70d341e4
14 changed files with 222 additions and 9 deletions

13
docs/reference/brick.md Normal file
View File

@ -0,0 +1,13 @@
# Brick
## Screen
```cards
brick.showMood(moods.sleeping);
brick.showImage(images.expressionsBigSmile);
brick.showString("Hello world!", 1);
brick.showNumber(0, 1);
brick.showValue("item", 0, 1);
brick.clearScreen();
brick.printPorts();
```