Class FlashingLEDColor

java.lang.Object
edu.wpi.first.wpilibj2.command.Command
frc.robot.commands.FlashingLEDColor
All Implemented Interfaces:
Sendable

public class FlashingLEDColor extends Command
Command to flash LEDs on and off once per second.
  • Constructor Details

    • FlashingLEDColor

      public FlashingLEDColor(LEDs leds, Color color, Color altColor)
      Command to flash the LED strip between 2 colors
      Parameters:
      leds - LED Subsystem
      color - The first color
      altColor - The second color
    • FlashingLEDColor

      public FlashingLEDColor(LEDs leds, Color color)
      Command to flash the LED strip between a color and black
      Parameters:
      leds - LED Subsystem
      color - The color
  • Method Details