41 lines
656 B
Markdown
41 lines
656 B
Markdown
|
# blink quiz
|
||
|
|
||
|
Learn how to create a blinking LED script.
|
||
|
|
||
|
## Name
|
||
|
|
||
|
## Directions
|
||
|
|
||
|
Use this activity document to guide your work in the [blink tutorial](/microbit/lessons/blink/tutorial).
|
||
|
|
||
|
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)
|
||
|
|