quiz update
This commit is contained in:
@ -12,13 +12,31 @@ This function turns off all the LED lights on the LED screen.
|
||||
|
||||

|
||||
|
||||

|
||||
```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()
|
||||
})
|
||||
```
|
||||
|
||||
|
@ -12,19 +12,18 @@ Answer the questions while completing the tutorial. Pay attention to the dialogu
|
||||
|
||||
## 1. Describe what "clear screen" does?
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
## 2. Write the code that clears an image from the screen
|
||||
|
||||

|
||||
|
||||
<br/>
|
||||
|
||||
## 3. Write the condition that will detect on button A pressed
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
## 4. Write the code that will clear show LEDS from the screen after pressing button A
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user