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

@ -1,6 +1,6 @@
# counter quiz answers
Learn how to create a counter with the BBC micro:bit button.
Learn how to create a counter with the @boardname@ button.
This is the answer key for the [counter quiz](/lessons/counter/quiz).
@ -48,7 +48,7 @@ input.onButtonPressed(Button.A, () => {
![](/static/mb/lessons/counter-2.png)
We included the code ``on button pressed("A")`` that runs each time the user presses A. The code increments `count` by `1`. We increase `count` by 1 whenever the user presses the button. So the third time the A button is pressed on the BBC micro:bit, the number 3 is displayed
We included the code ``on button pressed("A")`` that runs each time the user presses A. The code increments `count` by `1`. We increase `count` by 1 whenever the user presses the button. So the third time the A button is pressed on the @boardname@, the number 3 is displayed
<br/>

View File

@ -1,6 +1,6 @@
# counter quiz
Learn how to create a counter with the BBC micro:bit button.
Learn how to create a counter with the @boardname@ button.
## Name