inserting macros instead of hard coded board names
This commit is contained in:
@ -23,7 +23,7 @@ basic.showLeds(`
|
||||
|
||||
```
|
||||
|
||||
Now let's create a condition to know when button `A` is pressed so that we can display "truth" or "dare" on the micro:bit. We want the BBC micro:bit to randomly choose whether to display "truth" or display "dare". We can use accomplish this by using `pick random (1)`.
|
||||
Now let's create a condition to know when button `A` is pressed so that we can display "truth" or "dare" on the micro:bit. We want the @boardname@ to randomly choose whether to display "truth" or display "dare". We can use accomplish this by using `pick random (1)`.
|
||||
|
||||
```blocks
|
||||
basic.showLeds(`
|
||||
|
Reference in New Issue
Block a user