From de293be4fc83784a8a777c27b2bffe5b00066fa9 Mon Sep 17 00:00:00 2001 From: Ron Hale-Evans Date: Mon, 13 Jun 2016 14:15:39 -0700 Subject: [PATCH] Rewrote (2nd pass). Changed to . --- docs/reference/basic/show-leds.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/docs/reference/basic/show-leds.md b/docs/reference/basic/show-leds.md index 62a42eb4..dfc8f1dd 100644 --- a/docs/reference/basic/show-leds.md +++ b/docs/reference/basic/show-leds.md @@ -1,6 +1,6 @@ # Show LEDs -Display an image on the BBC micro:bit's [LED screen](/device/screen). +Shows a picture on the [LED screen](/device/screen). ```sig basic.showLeds(` @@ -15,13 +15,13 @@ basic.showLeds(` ### Parameters -* `leds` is a [String](/reference/types/string) that shows which LEDs are on and off. -* `ms` is an optional [Number](/reference/types/number) that shows how many milliseconds to wait after showing a picture. -If you are programming with blocks, `ms` starts out as 400 milliseconds. +* `leds` is a [string](/reference/types/string) that means 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. +If you are programming with blocks, `interval` starts out as 400 milliseconds. ### Example -Open the `basic` card in the Block Editor and select the `show leds` blocks. +This program shows a picture with the ``show leds`` function. ```blocks basic.showLeds(` @@ -34,7 +34,12 @@ basic.showLeds(` ) ``` -If you are programming in JavaScript, `#` means an LED that is turned on and `.` means an LED that is turned off. +### ~hint + +If you are programming in JavaScript, `#` means an LED that is turned +on and `.` means an LED that is turned off. + +### ~ ### See also