Package frc.robot.commands.leds
Class RainbowLEDs
java.lang.Object
edu.wpi.first.wpilibj2.command.Command
frc.robot.commands.leds.RainbowLEDs
- All Implemented Interfaces:
Sendable
Command to create a sliding rainbow pattern
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.wpi.first.wpilibj2.command.Command
Command.InterruptionBehavior -
Field Summary
Fields inherited from class edu.wpi.first.wpilibj2.command.Command
m_requirements -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class edu.wpi.first.wpilibj2.command.Command
addRequirements, alongWith, andThen, andThen, asProxy, beforeStarting, beforeStarting, cancel, deadlineWith, end, finallyDo, finallyDo, getInterruptionBehavior, getName, getRequirements, getSubsystem, handleInterrupt, hasRequirement, ignoringDisable, initialize, initSendable, isFinished, isScheduled, onlyIf, onlyWhile, raceWith, repeatedly, schedule, setName, setSubsystem, unless, until, withInterruptBehavior, withName, withTimeout
-
Constructor Details
-
RainbowLEDs
Command to create a sliding rainbow pattern- Parameters:
leds- LED subsystem
-
-
Method Details
-
execute
public void execute() -
runsWhenDisabled
public boolean runsWhenDisabled()- Overrides:
runsWhenDisabledin classCommand
-