Design a blinking image lesson
Show LEDs
.. toctree:: :maxdepth: 4 ./smiley/activity ./smiley/quiz ./smiley/quiz-answers ./smiley/challenges
Learn how to show LEDs to turn on a LED light pattern on the LED screen. We will be learning basic comments such as show LEDs and pause.
input.onButtonPressed(Button.A, () => {})
basic.showLeds(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`)
- learn how to show LEDs on the LED screen
- learn how to run code when an input button is pressed