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