@ -6,12 +6,12 @@ Shows the selected icon on the LED screen
|
||||
basic.showIcon(IconNames.Heart)
|
||||
```
|
||||
|
||||
### Parameters
|
||||
## Parameters
|
||||
|
||||
* ``icon``, the identifier of the icon to display
|
||||
* ``interval`` (optional), the time to display in milliseconds. default is 400.
|
||||
|
||||
### Example
|
||||
## Example
|
||||
|
||||
This program shows a happy face and then a sad face with the ``show icon`` function, with a one second pause in between.
|
||||
|
||||
@ -21,6 +21,6 @@ basic.pause(1000)
|
||||
basic.showIcon(IconNames.Sad)
|
||||
```
|
||||
|
||||
### See also
|
||||
## See also
|
||||
|
||||
[showLeds](/reference/basic/show-leds)
|
Reference in New Issue
Block a user