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