mpf.platforms.interfaces.rgb_led_platform_interface

Interface for RGB hardware devices/LEDs.

class mpf.platforms.interfaces.rgb_led_platform_interface.RGBLEDPlatformInterface

Interface for LEDs in hardware platforms.

LEDPlatformInterface is an abstract base class that should be overridden for all LED interface classes on supported platforms. This class ensures the proper required methods are implemented to support LED operations in MPF.

color(color)

Set the LED to the specified color.

Parameters:color – a list of int colors. one for each channel.
Returns:None