Typo scan for tutorials (#1250)
This commit is contained in:
		
				
					committed by
					
						
						Peli de Halleux
					
				
			
			
				
	
			
			
			
						parent
						
							e7741f3eef
						
					
				
				
					commit
					95ae446a6d
				
			@@ -41,7 +41,7 @@ input.onButtonPressed(Button.A, () => {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## Step 4
 | 
					## 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
 | 
					## Step 5
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -63,7 +63,7 @@ input.onButtonPressed(Button.A, () => {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## Step 6
 | 
					## 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
 | 
					## Step 7
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -4,7 +4,7 @@ Make a love meter, how sweet! The @boardname@ is feeling the love, then sometime
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## Step 1
 | 
					## 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
 | 
					```blocks
 | 
				
			||||||
input.onPinPressed(TouchPin.P0, () => {
 | 
					input.onPinPressed(TouchPin.P0, () => {
 | 
				
			||||||
@@ -13,7 +13,7 @@ input.onPinPressed(TouchPin.P0, () => {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## Step 2
 | 
					## 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
 | 
					```blocks
 | 
				
			||||||
input.onPinPressed(TouchPin.P0, () => {
 | 
					input.onPinPressed(TouchPin.P0, () => {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -27,7 +27,7 @@ input.onButtonPressed(Button.A, () => {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## Step 3
 | 
					## 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
 | 
					```blocks
 | 
				
			||||||
input.onButtonPressed(Button.B, () => { 
 | 
					input.onButtonPressed(Button.B, () => { 
 | 
				
			||||||
@@ -43,7 +43,7 @@ input.onButtonPressed(Button.B, () => {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## Step 4
 | 
					## 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
 | 
					```blocks
 | 
				
			||||||
input.onButtonPressed(Button.AB, () => {
 | 
					input.onButtonPressed(Button.AB, () => {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user