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:
committed by
Peli de Halleux
parent
e06659ab4c
commit
4f70d341e4
13
docs/reference/brick.md
Normal file
13
docs/reference/brick.md
Normal 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();
|
||||
```
|
Reference in New Issue
Block a user