Clear the screen by pressing the "A" button after an animation has been played
This is the answer key for the screen wipe quiz.
This function turns off all the LED lights on the LED screen.
basic.showLeds(`
. # . # .
. # . # .
. . # . .
# . . . #
. # # # .
`)
input.onButtonPressed(Button.A, () => {
})
input.onButtonPressed(Button.A, () => {
basic.clearScreen()
})