move lessons out of web site
will move select lessons back to "educators" section
This commit is contained in:
@ -1,42 +0,0 @@
|
||||
# screen wipe quiz blocks answers
|
||||
|
||||
Clear the screen by pressing the "A" button after an animation has been played
|
||||
|
||||
This is the answer key for the [screen wipe quiz](/lessons/screen-wipe/quiz).
|
||||
|
||||
## 1. What does the function "clear screen" do on the micro:bit?
|
||||
|
||||
This function turns off all the LED lights on the LED screen.
|
||||
|
||||
## 2. Write the line of code that displays this image.
|
||||
|
||||

|
||||
|
||||
```blocks
|
||||
basic.showLeds(`
|
||||
. # . # .
|
||||
. # . # .
|
||||
. . # . .
|
||||
# . . . #
|
||||
. # # # .
|
||||
`)
|
||||
```
|
||||
|
||||
## 3. Write the condition that will detect on button A pressed
|
||||
|
||||
```blocks
|
||||
|
||||
input.onButtonPressed(Button.A, () => {
|
||||
|
||||
})
|
||||
|
||||
```
|
||||
|
||||
## 4. Write the code that will clear show LEDS from the screen after pressing button A
|
||||
|
||||
```blocks
|
||||
input.onButtonPressed(Button.A, () => {
|
||||
basic.clearScreen()
|
||||
})
|
||||
```
|
||||
|
Reference in New Issue
Block a user