removing old 'getting-started' guide

This commit is contained in:
Peli de Halleux
2017-03-28 05:44:28 -07:00
parent 5748af704b
commit 358596bb7e
8 changed files with 53 additions and 451 deletions

View File

@ -41,7 +41,7 @@ Try pressing button A!
## Step 3
Now add blocks so that when [button B is pressed](/reference/input/on-button-pressed),
Add blocks so that when [button B is pressed](/reference/input/on-button-pressed),
a frowney appears:
```blocks
@ -67,6 +67,58 @@ input.onButtonPressed(Button.B, () => {
Try pressing ``A`` or ``B``!
## Step 4
You can also have a secret mode where ``A`` and ``B`` are pressed together.
In that case, add multiple ``||show leds||`` blocks to create an animation...
```blocks
input.onButtonPressed(Button.AB, () => {
basic.showLeds(`
. . . . .
. # . # .
. . . . .
# . . . #
. # # # .
`)
basic.showLeds(`
. . . . .
. # . # .
. . . . .
# # # # #
. . . . .
`)
basic.showLeds(`
. . . . .
. # . # .
. . . . .
. # # # .
# . . . #
`)
basic.showLeds(`
. . . . .
. # . # .
. . . . .
# # # # #
. . . # #
`)
basic.showLeds(`
. . . . .
# . # . .
. . . . .
# . . . #
. # # # .
`)
basic.showLeds(`
. . . . .
. . # . #
. . . . .
# . . . #
. # # # .
`)
})
```
## Send your smileys over radio
Do you have a second @boardname@ at hand? You could use radio and send your smileys or frownies to other