* missing packages

* fixing snippet issues

* snippet fix

* more doc fixes
This commit is contained in:
Peli de Halleux
2017-08-18 08:34:01 -07:00
committed by GitHub
parent 3180229bce
commit 325ccce3a0
8 changed files with 70 additions and 55 deletions

View File

@ -100,22 +100,21 @@ Now we can use our LED lights to display different images depending on what butt
```blocks
input.onButtonPressed(Button.A, () => {
   basic.showLeds(`
       . . . . .
       . . . . .
       . . . . .
       . . . . .
       . . . . .
       `)
basic.showLeds(`. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
`)
})
input.onButtonPressed(Button.B, () => {
   basic.showLeds(`
       . . . . .
       . . . . .
       . . . . .
       . . . . .
       . . . . .
       `)
basic.showLeds(`
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
`)
})
```
* Click on the individual little boxes in the show leds block that is in the on button A pressed event handler to create the image of a happy face.