rename micro:bit to @boardname@
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
# love meter blocks activity
|
||||
|
||||
Create a love meter with the micro:bit
|
||||
Create a love meter with the @boardname@
|
||||
|
||||
### ~avatar avatar
|
||||
|
||||
Welcome! This activity will help you create a love meter with the micro:bit. Let's get started!
|
||||
Welcome! This activity will help you create a love meter with the @boardname@. Let's get started!
|
||||
|
||||
### ~
|
||||
|
||||
@ -28,7 +28,7 @@ input.onPinPressed(TouchPin.P0, () => {
|
||||
|
||||
```
|
||||
|
||||
Finally, let's show that number on the micro:bit. You are registering an event handler that will execute on the @boardname@ whenever the user holds the GND pin with one hand, and presses pin 0 with the other hand, thus completing a circuit
|
||||
Finally, let's show that number on the @boardname@. You are registering an event handler that will execute on the @boardname@ whenever the user holds the GND pin with one hand, and presses pin 0 with the other hand, thus completing a circuit
|
||||
|
||||
|
||||
```blocks
|
||||
|
@ -1,6 +1,6 @@
|
||||
# love meter blocks challenges
|
||||
|
||||
Create a love meter with the micro:bit
|
||||
Create a love meter with the @boardname@
|
||||
|
||||
## Before we get started
|
||||
|
||||
|
@ -39,7 +39,7 @@ basic.showNumber(item + 1);
|
||||
|
||||
You have to add 1 if you want to generate a random number between 1 and 10 .
|
||||
|
||||
## 5. Why do you have to hold ground (GND) to make this work on the micro:bit?
|
||||
## 5. Why do you have to hold ground (GND) to make this work on the @boardname@?
|
||||
|
||||
|
||||
You have told GND to complete the circuit.
|
||||
|
@ -34,6 +34,6 @@ basic.showNumber(item + 1);
|
||||
|
||||
|
||||
|
||||
## 5. Describe why you must hold ground (GND) before pressing (P0) to run a program using `on pin pressed(P0)` on the micro:bit
|
||||
## 5. Describe why you must hold ground (GND) before pressing (P0) to run a program using `on pin pressed(P0)` on the @boardname@
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user