Class Leds

java.lang.Object
frc.spectrumLib.leds.SpectrumLEDs
frc.robot.subsystems.leds.Leds
All Implemented Interfaces:
Subsystem

public class Leds extends SpectrumLEDs
LED strip for the robot. Extends SpectrumLEDs for the pattern library and the CANdle hardware. Bind the pattern methods from Robot.java or SuperStructure.
  • Field Details

    • NUM_LEDS

      public static final int NUM_LEDS
      Length of the external LED strip, which the CANdle addresses from index 8.
      See Also:
    • ledsConfig

      public static final SpectrumLEDs.Config ledsConfig
      Static hardware config, already set to address the external strip only. Set startIdx to 0 to span the onboard LEDs as well.
  • Constructor Details

    • Leds

      public Leds()
  • Method Details

    • periodic

      public void periodic()