2.1.28, initiation update to PXT v5.28.24 (#54)

This commit is contained in:
Amerlander
2019-12-02 05:58:26 +01:00
committed by Peli de Halleux
parent 38a964516e
commit 5c114a0c57
1261 changed files with 50692 additions and 21604 deletions

View File

@@ -13,13 +13,19 @@ basic.showLeds(`
)
```
### Parameters
## Parameters
* `leds` is a [string](/reference/types/string) that controls which LEDs are on and off.
* `interval` is an optional [number](/reference/types/number) that means how many milliseconds to wait after showing a picture.
* `leds` is a [string](/types/string) that controls which LEDs are on and off.
* `interval` is an optional [number](/types/number) that means how many milliseconds to wait after showing a picture.
If you are programming with blocks, `interval` is set at 400 milliseconds.
### Example
## ~ hint
See how the @boardname@ shows numbers, text, and displays images by watching this video about [LEDs](https://www.youtube.com/watch?v=qqBmvHD5bCw).
## ~
## Example
This program shows a picture with the ``show leds`` function.
@@ -34,14 +40,14 @@ basic.showLeds(`
)
```
### ~hint
## ~hint
If you are programming in JavaScript, `#` means an LED that is turned
on and `.` means an LED that is turned off.
### ~
## ~
### See also
## See also
[plot leds](/reference/led/plot-leds), [show animation](/reference/basic/show-animation)
[plot leds](/reference/basic/plot-leds), [show animation](/reference/basic/show-animation)