Turn off all the pixel LEDs.
light.clear()
Turn off all the pixels when button A is pressed.
A
light.setAll(0x00ff00) input.buttonA.onEvent(ButtonEvent.Click, () => { light.clear() })
||set All||
circuit-playground
Edit this page on GitHub Edit template of this page on GitHub Edit template of this page on GitHub