RgbFadeAnimation

class phoenix5.led.RgbFadeAnimation(brightness: float = 1, speed: float = 1, numLed: int = -1, ledOffset: int = 0)

Bases: BaseStandardAnimation

Animation that fades all the LEDs of a strip simultaneously between Red, Green, and Blue

Constructor for an RgbFadeAnimation

Parameters:
  • brightness – How bright the LEDs are [0, 1]

  • speed – How fast the LEDs fade between Red, Green, and Blue [0, 1]

  • numLed – How many LEDs are controlled by the CANdle

  • ledOffset – Where to start the animation