pxt-calliope/docs/reference/js/lessons/flashing-heart/quiz.md

37 lines
621 B
Markdown
Raw Normal View History

2016-03-26 00:47:20 +01:00
# flashing heart quiz
Learn how to create a blinking LED script with a variable.
## Name
## Directions
Use this activity document to guide your work in the [flashing heart activity](/microbit/lessons/flashing-heart/activity).
Answer the questions while completing the activity. Pay attention to the dialogues!
## 1. Describe what pause does?
<br/>
## 2. Draw the image being displayed using the BBC micro:bit image.
```
basic.showLeds(`
. # . # .
# # # # #
# # # # #
. # # # .
. . # . .
`, 400)
```
![](/static/mb/empty-microbit.png)
<br/>
## 3. Write the code to show LEDs of a broken heart forever.
<br/>