652 B
652 B
Plot LEDs
Display an Image on the @boardname@'s LED screen. NOTE: basic -> plot image
has been replaced by basic -> show leds
.
basic.showLeds(`
. . . . .
. # . # .
. . # . .
# . . . #
. # # # .
`)
Parameters
- leds - a series of LED on/off states that form an image (see steps below)
Example: smiley
basic.showLeds(`
. . . . .
. # . # .
. . # . .
# . . . #
. # # # .
`)