001package com.ctre.phoenix.led;
002
003/**
004 * Animation that fades all the LEDs of a strip simultaneously between Red, Green, and Blue
005 */
006public class RgbFadeAnimation extends BaseStandardAnimation {
007    /**
008     * Constructor for an RgbFadeAnimation
009     * @param brightness How bright the LEDs are [0, 1]
010     * @param speed How fast the LEDs fade between Red, Green, and Blue [0, 1]
011     * @param numLed How many LEDs are controlled by the CANdle
012     */
013    public RgbFadeAnimation(double brightness, double speed, int numLed) {
014        super(0x63, brightness, speed, numLed, 0, 0);
015    }
016    /**
017     * Constructor for an RgbFadeAnimation.
018     * Call the individual setters to tune the animation.
019     */
020    public RgbFadeAnimation() {
021        this(1, 1, -1);
022    }
023}