StrobeAnimation

class phoenix5.led.StrobeAnimation(r: int, g: int, b: int, w: int = 0, speed: float = 1, numLed: int = -1, ledOffset: int = 0)

Bases: BaseTwoSizeAnimation

Animation that strobes the LEDs a specified color

Constructor for a StrobeAnimation

Parameters:
  • r – How much red should the color have [0, 255]

  • g – How much green should the color have [0, 255]

  • b – How much blue should the color have [0, 255]

  • w – How much white should the color have [0, 255]

  • speed – How fast should the color travel the strip [0, 1]

  • numLed – How many LEDs the CANdle controls

  • ledOffset – Where to start the animation