inserting macros instead of hard coded board names

This commit is contained in:
Peli de Halleux
2016-11-01 10:42:42 -07:00
parent 6799721c9b
commit d76d92e041
132 changed files with 271 additions and 271 deletions

View File

@ -10,7 +10,7 @@ Answers may vary. Generally, on button pressed run code when an input button is
## 2. Consider the following directions
Write the line of code that creates a condition when the BBC micro:bit button A is pressed.
Write the line of code that creates a condition when the @boardname@ button A is pressed.
```blocks
@ -28,7 +28,7 @@ let randomNumber = Math.random(10)
```
## 4.
If the rectangle below represents the BBC micro:bit, shade the areas that will be displayed. Explain why that particular area is shaded.
If the rectangle below represents the @boardname@, shade the areas that will be displayed. Explain why that particular area is shaded.
```blocks
let randomNumber = Math.random(10)