More doc fixes (#511)

* more doc fixes

* more fixes
This commit is contained in:
Peli de Halleux
2017-08-18 11:02:21 -07:00
committed by GitHub
parent c9e8cd4e78
commit 4f57c77b30
8 changed files with 140 additions and 127 deletions

View File

@ -122,22 +122,22 @@ input.onButtonPressed(Button.B, () => {
```blocks
input.onButtonPressed(Button.A, () => {
   basic.showLeds(`
       . . . . .
       . # . # .
       . . . . .
       # . . . #
       . # # # .
       `)
basic.showLeds(`
. . . . .
. # . # .
. . . . .
# . . . #
. # # # .
`)
})
input.onButtonPressed(Button.B, () => {
   basic.showLeds(`
       . . . . .
       . # . # .
       . . . . .
       . # # # .
       # . . . #
       `)
basic.showLeds(`
. . . . .
. # . # .
. . . . .
. # # # .
# . . . #
`)
})
```
@ -197,7 +197,7 @@ Notes
Clean up your coding workspace before you do a final save! What does this mean?
* It means that only the code and blocks that you are using in your program are still in the workspace.  
* It means that only the code and blocks that you are using in your program are still in the workspace.
* Remove (delete) any other blocks that you may have dragged into the coding workspace as you were experimenting and building your program.
## Save and download
@ -208,23 +208,23 @@ Here is the complete program:
```blocks
// Display a happy face when button A is pressed.
input.onButtonPressed(Button.A, () => {
   basic.showLeds(`
       . . . . .
       . # . # .
       . . . . .
       # . . . #
       . # # # .
       `)
basic.showLeds(`
. . . . .
. # . # .
. . . . .
# . . . #
. # # # .
`)
})
// Display a sad face when button B is pressed.
input.onButtonPressed(Button.B, () => {
   basic.showLeds(`
       . . . . .
       . # . # .
       . . . . .
       . # # # .
       # . . . #
       `)
basic.showLeds(`
. . . . .
. # . # .
. . . . .
. # # # .
# . . . #
`)
})
basic.clearScreen()
```