2016-03-26 00:47:20 +01:00
|
|
|
# flashing heart blocks quiz
|
|
|
|
|
|
|
|
Learn how to create a blinking image 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?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## 2. Write the code that leaves an image on the screen for 1 second (1000 milliseconds)
|
|
|
|
|
|
|
|
|
2016-03-29 20:57:50 +02:00
|
|
|
|
2016-03-26 00:47:20 +01:00
|
|
|
|
|
|
|
## 3. Write the code that leaves an image on the screen for 1.5 seconds (1500 milliseconds)
|
|
|
|
|
|
|
|
|
|
|
|
|