Color Light Matrix
class ColorLightMatrix ( port )
LEGO® SPIKE 3x3 Color Light Matrix.
Parameters:
port (Port ) – Port to which the device is connected.
await on ( colors )
Turns the lights on.
Parameters:
colors (Color or list ) – If a single Color
is given, then all 9 lights are set
to that color. If a list of colors is given, then each light is
set to that color.
await off ( )
Turns all lights off.
© Copyright 2018-2023 The Pybricks Authors.
Revision f35bbe44
.
Built with Sphinx using a
theme
provided by Read the Docs .
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS EV3 logo are trademarks and/or copyrights of the LEGO Group of companies which does not sponsor, authorize or endorse this site.