mpf.platforms.interfaces.matrix_light_platform_interface
¶
Interface for matrix lights.
-
class
mpf.platforms.interfaces.matrix_light_platform_interface.
MatrixLightPlatformInterface
¶ Interface for matrix lights in hardware platforms.
MatrixLightPlatformInterface is an abstract base class that should be overridden for all matrix light interface classes on supported platforms. This class ensures the proper required methods are implemented to support matrix light operations in MPF.
-
off
()¶ Turn off the matrix light instantly.
Returns: None
-
on
(brightness=255)¶ Set the matrix light to the specified brightness level.
Parameters: brightness – Integer (0 to 255) that sets the brightness level of the light Returns: None
-