2016-03-26 00:47:20 +01:00
|
|
|
# blink quiz
|
|
|
|
|
|
|
|
Learn how to create a blinking LED script.
|
|
|
|
|
|
|
|
## Name
|
|
|
|
|
|
|
|
## Directions
|
|
|
|
|
2016-04-13 17:27:45 +02:00
|
|
|
Use this activity document to guide your work in the [blink tutorial](/lessons/blink/tutorial).
|
2016-03-26 00:47:20 +01:00
|
|
|
|
|
|
|
Answer the questions while completing the tutorial. Pay attention to the dialogues!
|
|
|
|
|
|
|
|
## 1. Describe what `led->plot` does?
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
## 2. Draw which LED is ON after running this code
|
|
|
|
|
|
|
|
```
|
|
|
|
led.plot(2, 2)
|
|
|
|
```
|
|
|
|
|
|
|
|
![](/static/mb/empty-microbit.png)
|
|
|
|
|
|
|
|
## 3. Draw which LED is ON after running this code
|
|
|
|
|
|
|
|
```
|
|
|
|
led.plot(0, 0)
|
|
|
|
```
|
|
|
|
|
|
|
|
![](/static/mb/empty-microbit.png)
|
|
|
|
|
|
|
|
## 4. Draw which LED is ON after running this code
|
|
|
|
|
|
|
|
```
|
|
|
|
led.plot(4, 4)
|
|
|
|
```
|
|
|
|
|
|
|
|
![](/static/mb/empty-microbit.png)
|
|
|
|
|