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

View File

@ -0,0 +1,24 @@
# show Number
Show a number on the screen at the line you select.
```sig
brick.showNumber(0, 1);
```
## Parameters
**value**: a [number](/types/number) to show on the brick's screen.
**line**: The line number on the screen where the value is displayed. The line numbers for the screen start with line `1`.
## Example
Show the number `1000` on the screen.
```blocks
brick.showNumber(1000, 1);
```
## See also
[show string](/reference/brick/show-string), [show value](/reference/brick/show-value)