Class LedRight

All Implemented Interfaces:
edu.wpi.first.wpilibj2.command.Subsystem, SpectrumSubsystem

public class LedRight extends SpectrumLEDs
  • Field Details

  • Constructor Details

  • Method Details

    • setupStates

      public void setupStates()
      Binds the triggers for the LED commands. This method overrides the bindTriggers method to ensure that the LED commands are properly bound to their respective triggers.
      Specified by:
      setupStates in interface SpectrumSubsystem
      Overrides:
      setupStates in class SpectrumLEDs
    • setupDefaultCommand

      public void setupDefaultCommand()
      Sets up the default command for the LED subsystem. This method is called to assign the default command that will run when no other commands are scheduled for the subsystem.
      Specified by:
      setupDefaultCommand in interface SpectrumSubsystem
      Overrides:
      setupDefaultCommand in class SpectrumLEDs