fix for #24
This commit is contained in:
		@@ -13,7 +13,7 @@ Welcome! This tutorial will help you display an arrow pointing toward the logo!
 | 
			
		||||
Using the **accelerometer** sensor, the micro:bit can detect when the **logo** is oriented **up**. We call that the **logo up** event. We will use `on logo up` to register an event handler that will run when the **logo up** event happens.
 | 
			
		||||
 | 
			
		||||
```blocks
 | 
			
		||||
input.onLogoUp(() => {
 | 
			
		||||
input.onGesture(Gesture.LogoUp, () => {
 | 
			
		||||
    
 | 
			
		||||
})
 | 
			
		||||
```
 | 
			
		||||
@@ -21,7 +21,7 @@ input.onLogoUp(() => {
 | 
			
		||||
When the micro:bit goes logo up, the code nested under the `on logo up` function will run. Let's add a line of code to show LEDs in there.
 | 
			
		||||
 | 
			
		||||
```blocks
 | 
			
		||||
input.onLogoUp(() => {
 | 
			
		||||
input.onGesture(Gesture.LogoUp, () => {
 | 
			
		||||
    basic.showLeds(`
 | 
			
		||||
        . . # . .
 | 
			
		||||
        . # # # .
 | 
			
		||||
 
 | 
			
		||||
@@ -26,9 +26,10 @@ Learn how to plot image **on logo up**, `input->on logo up` to run code when the
 | 
			
		||||
 | 
			
		||||
## Documentation
 | 
			
		||||
 | 
			
		||||
* **on logo up** : [read more...](/functions/on-logo-up)
 | 
			
		||||
* **show leds** : [read more...](/reference/basic/show-leds)
 | 
			
		||||
* **on logo down** : [read more...](/functions/on-logo-down)
 | 
			
		||||
```cards
 | 
			
		||||
input.onGesture(Gesture.Shake, () => {});
 | 
			
		||||
basic.showLeds(``);
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Objectives
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user