pxt-calliope/olddocs/lessons/smiley/activity.md
Tom Ball f4eca66648 move lessons out of web site
will move select lessons back to "educators" section
2016-06-14 11:49:58 -04:00

690 B

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.

basic.showLeds(`
    . # . # .
    . # . # .
    . . . . .
    # . . . #
    . # # # .
    `)
basic.showLeds(`
    . . . . .
    . . . . .
    . . . . .
    . . . . .
    . . . . .
    `)

~avatar boothing

Excellent, you're ready to continue with the challenges!

~