pxt-calliope/docs/projects/a1-display.md
2016-05-27 21:40:59 -07:00

623 B

Getting started

• Go to https://m.pxt.io/
• To create a new project, click new Project

Tap or click Blocks.

Step 1

Use show leds and make your code look like this:

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

Once you are done coding, don't forget to run your code with the Play button.

Step 2

Add a pause to wait and clear screen to turn off the LEDs.

basic.showLeds(`
. # . # .
# # # # #
# # # # #
. # # # .
. . # . .`);
basic.pause(500);
basic.clearScreen();