ColorFlowAnimation

class phoenix5.led.ColorFlowAnimation(r: SupportsInt | SupportsIndex, g: SupportsInt | SupportsIndex, b: SupportsInt | SupportsIndex, w: SupportsInt | SupportsIndex, speed: SupportsFloat | SupportsIndex = 1, numLed: SupportsInt | SupportsIndex = -1, direction: phoenix5._ctre.led.ColorFlowAnimation.Direction = <Direction.Forward: 0>, ledOffset: SupportsInt | SupportsIndex = 0)

Bases: BaseTwoSizeAnimation

class Direction(value: SupportsInt | SupportsIndex)

Bases: pybind11_object

Members:

Forward

Backward

Backward = <Direction.Backward: 1>
Forward = <Direction.Forward: 0>
ColorFlowAnimation.Direction.name -> str
property value
setDirection(direction: phoenix5._ctre.led.ColorFlowAnimation.Direction) None