6namespace ctre {
namespace phoenix {
namespace led {
The base class for one generic type of animation.
Definition: BaseTwoSizeAnimation.h:12
Animation that randomly turns LEDs on and off to a certain color.
Definition: TwinkleAnimation.h:11
TwinklePercent
The percentage of LEDs that are allowed to be on at any one point.
Definition: TwinkleAnimation.h:16
@ Percent18
18% of LEDs are allowed to turn on
Definition: TwinkleAnimation.h:44
@ Percent6
6% of LEDs are allowed to turn on
Definition: TwinkleAnimation.h:48
@ Percent100
All the LEDs are allowed to turn on.
Definition: TwinkleAnimation.h:20
@ Percent30
30% of LEDs are allowed to turn on
Definition: TwinkleAnimation.h:40
@ Percent76
76% of LEDs are allowed to turn on
Definition: TwinkleAnimation.h:28
@ Percent64
64% of LEDs are allowed to turn on
Definition: TwinkleAnimation.h:32
@ Percent42
42% of LEDs are allowed to turn on
Definition: TwinkleAnimation.h:36
@ Percent88
88% of LEDs are allowed to turn on
Definition: TwinkleAnimation.h:24
TwinkleAnimation(int r, int g, int b, int w=0, double speed=1, int numLed=-1, TwinklePercent divider=TwinklePercent::Percent100, int ledOffset=0)
Constructor for a TwinkleAnimation.
void SetDivider(TwinklePercent divider)
Sets the percentage of LEDs that are allowed on.
namespace ctre
Definition: paramEnum.h:5