Fix tutorial authoring for getting started (#885)
* Fix tutorial authoring for getting started Remove extra new lines * Fix other tutorials
This commit is contained in:
@ -4,8 +4,7 @@ Make a love meter, how sweet! The @boardname@ is feeling the love, then sometime
|
||||
|
||||
## Step 1
|
||||
|
||||
Let's build a **LOVE METER** machine. Place a ``||input:on pin pressed||`` block to run code
|
||||
when pin ``P0`` is pressed.
|
||||
Let's build a **LOVE METER** machine. Place a ``||input:on pin pressed||`` block to run code when pin ``P0`` is pressed.
|
||||
|
||||
```blocks
|
||||
input.onPinPressed(TouchPin.P0, () => {
|
||||
@ -13,8 +12,7 @@ input.onPinPressed(TouchPin.P0, () => {
|
||||
```
|
||||
## Step 2
|
||||
|
||||
Using ``||basic:show number||`` and ``||Math:pick random||`` blocks,
|
||||
show a random number from 0 to 100 when pin ``P0`` is pressed.
|
||||
Using ``||basic:show number||`` and ``||Math:pick random||`` blocks, show a random number from 0 to 100 when pin ``P0`` is pressed.
|
||||
|
||||
```blocks
|
||||
input.onPinPressed(TouchPin.P0, () => {
|
||||
|
Reference in New Issue
Block a user