Typo scan for tutorials (#1250)
This commit is contained in:
parent
e7741f3eef
commit
95ae446a6d
@ -41,7 +41,7 @@ input.onButtonPressed(Button.A, () => {
|
||||
|
||||
## Step 4
|
||||
|
||||
Press button **A** in the simulator to try our coin toss code.
|
||||
Press button **A** in the simulator to try the coin toss code.
|
||||
|
||||
## Step 5
|
||||
|
||||
@ -63,7 +63,7 @@ input.onButtonPressed(Button.A, () => {
|
||||
|
||||
## Step 6
|
||||
|
||||
If your have a @boardname@, connect it to USB and click ``|Download|`` to transfer your code.
|
||||
If you have a @boardname@, connect it to USB and click ``|Download|`` to transfer your code.
|
||||
|
||||
## Step 7
|
||||
|
||||
|
@ -4,7 +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 **0** is pressed. Use ``P0`` from the list of pin inputs.
|
||||
Let's build a **LOVE METER** machine. Place an ``||input:on pin pressed||`` block to run code when pin **0** is pressed. Use ``P0`` from the list of pin inputs.
|
||||
|
||||
```blocks
|
||||
input.onPinPressed(TouchPin.P0, () => {
|
||||
@ -13,7 +13,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 **0** is pressed.
|
||||
Using ``||basic:show number||`` and ``||Math:pick random||`` blocks, show a random number from `0` to `100` when pin **0** is pressed.
|
||||
|
||||
```blocks
|
||||
input.onPinPressed(TouchPin.P0, () => {
|
||||
|
@ -27,7 +27,7 @@ input.onButtonPressed(Button.A, () => {
|
||||
|
||||
## Step 3
|
||||
|
||||
Add ``||input:on button pressed||`` and ``||basic:show leds||`` blocks to display a frowney when button **B** is pressed.
|
||||
Add ``||input:on button pressed||`` and ``||basic:show leds||`` blocks to display a frowny when button **B** is pressed.
|
||||
|
||||
```blocks
|
||||
input.onButtonPressed(Button.B, () => {
|
||||
@ -43,7 +43,7 @@ input.onButtonPressed(Button.B, () => {
|
||||
|
||||
## Step 4
|
||||
|
||||
Add a secret mode that happens when **A** and **B** are pressed together. In that case, add multiple ``||basic:show leds||`` blocks to create an animation...
|
||||
Add a secret mode that happens when **A** and **B** are pressed together. For this case, add multiple ``||basic:show leds||`` blocks to create an animation.
|
||||
|
||||
```blocks
|
||||
input.onButtonPressed(Button.AB, () => {
|
||||
|
Loading…
Reference in New Issue
Block a user