795 B
795 B
Plot LEDs
Display an Image on the BBC micro:bit's LED screen. NOTE: basic -> plot image
has been replaced by basic -> show leds
.
KindScript syntax
basic.plotLeds(`
. . . . .
. # . # .
. . # . .
# ; . . #
. # # # .
`)
Parameters
- leds - a series of LED on/off states that form an image (see steps below)
Example: simley
basic.plotLeds(`
. . . . .
. # . # .
. . # . .
# ; . . #
. # # # .
`)
Lessons
smiley, flashing heart, magic logo