pxt-calliope/docs/lessons/smiley/activity.md
Sam El-Husseini e3975e65e5 pxt-microbit Accessibility PR (#529)
* Accessibility changes
2017-09-07 13:42:08 -07:00

38 lines
686 B
Markdown

# smiley blocks activity
Learn to design a blinking image.
## ~avatar avatar
Welcome! This tutorial will help you make a smiley face blink. Let's get started!
## ~
Create an animation with an image displaying a smiley face and the next image with no LEDs lit up. This will make it look like the smiley face is blinking as the display switches between images.
```blocks
basic.showLeds(`
. # . # .
. # . # .
. . . . .
# . . . #
. # # # .
`)
basic.showLeds(`
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
`)
```
## ~avatar boothing
Excellent, you're ready to continue with the [challenges](/lessons/smiley/challenges)!
## ~