More snippet types

This commit is contained in:
Thomas Denney
2016-08-09 16:55:43 +01:00
parent 9ebd9d4f04
commit 1164feb754
5 changed files with 8 additions and 8 deletions

View File

@ -62,7 +62,7 @@ export function newAction() {
Now let's implement `PRESS PIN 0` in the main. Create a condition of `input->on pin pressed("P0")` that will add one to the score and calls the method `new action`.
```
```blocks
// **. . .**
input.onButtonPressed(Button.B, () => {
basic.showNumber(game.score(), 150) // ***