pxt-calliope/docs/getting-started.md
Peli de Halleux 50f0e85884 docs updates
2016-12-20 12:31:25 -08:00

934 B

Getting started

@description An activity for beginners to get started with the @boardname@

~avatar

Here are some challenges for you. Arrange the blocks in the editor to make real programs that work!

~

Use the Basic drawer in the editor to drag out and arrange three blocks to create this program:

basic.forever(() => {
    basic.showLeds(`
        . . . . .
        . # . # .
        . . . . .
        # . . . #
        . # # # .
        `)
    basic.showLeds(`
        . . . . .
        . . . . .
        . . . . .
        . . . . .
        . . . . .
        `)
});

When this program runs, you will see a smiley face, then a blank screen, then a smiley again -- it never stops! (That's because of the [basic.forever(() => {})] block.)

Click Download to move your program to the @boardname@! Make sure to follow the instructions.

~button /getting-started/screen

NEXT: THE SCREEN

~