inserting macros instead of hard coded board names
This commit is contained in:
@ -12,11 +12,11 @@ Answer the questions while completing the tutorial. Pay attention to the dialogu
|
||||
|
||||
## 1. Define 'on logo up'
|
||||
|
||||
A function that will run code when the BBC micro:bit screen is facing up and vertically orientated.
|
||||
A function that will run code when the @boardname@ screen is facing up and vertically orientated.
|
||||
|
||||
<br/>
|
||||
|
||||
## 2. Write the condition that detects when the BBC micro:bit logo is facing up and vertically orientated.
|
||||
## 2. Write the condition that detects when the @boardname@ logo is facing up and vertically orientated.
|
||||
|
||||
The `logo up` event is raised when...
|
||||
|
||||
|
@ -12,9 +12,9 @@ Use the hints from the [magic logo activity](/lessons/magic-logo/activity) to an
|
||||
|
||||
<br/>
|
||||
|
||||
## 2. Write the condition that detects when the BBC micro:bit logo is facing up and vertically orientated.
|
||||
## 2. Write the condition that detects when the @boardname@ logo is facing up and vertically orientated.
|
||||
|
||||
## 3. Write the code to display a downward pointing arrow when the BBC micro:bit logo is down.
|
||||
## 3. Write the code to display a downward pointing arrow when the @boardname@ logo is down.
|
||||
|
||||

|
||||
|
||||
|
Reference in New Issue
Block a user