pxt-calliope/docs/tutorials/getting-started.md
Sam El-Husseini 81fe9afbb7 remove begin
2017-01-05 13:35:28 -08:00

54 lines
934 B
Markdown

# Getting started
### Step 1
Use the **Basic** drawer in the editor
to drag out and arrange three blocks to create this program:
```block
basic.showString("Hello world")
```
### Step 2
Use the **Basic** drawer in the editor
to drag out and arrange three blocks to create this program:
### Step 3
Use the **Basic** drawer in the editor
to drag out and arrange three blocks to create this program:
```block
basic.forever(() => {
basic.showNumber(0)
})
```
### Step 4
Use the **Basic** drawer in the editor
to drag out and arrange three blocks to create this program:
```block
input.onButtonPressed(Button.B, () => {
basic.showLeds(`
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
`)
})
```
### Step 5
Use the **Basic** drawer in the editor
to drag out and arrange three blocks to create this program:
```block
input.onButtonPressed(Button.A, () => {
basic.showString("Hello!")
})
```