Class SpectrumLEDs.Config

java.lang.Object
frc.spectrumLib.leds.SpectrumLEDs.Config
Direct Known Subclasses:
LedFull.LedFullConfig, LedLeft.LedConfig, LedRight.LedConfig
Enclosing class:
SpectrumLEDs

public static class SpectrumLEDs.Config extends Object
  • Constructor Details

    • Config

      public Config(String name, int length)
    • Config

      public Config(String name, edu.wpi.first.wpilibj.AddressableLED l, edu.wpi.first.wpilibj.AddressableLEDBuffer lb, int startingIndex, int endingIndex)
  • Method Details

    • getName

      public String getName()
    • isAttached

      public boolean isAttached()
    • setAttached

      public void setAttached(boolean attached)
    • getLed

      public edu.wpi.first.wpilibj.AddressableLED getLed()
    • setLed

      public void setLed(edu.wpi.first.wpilibj.AddressableLED led)
    • getBuffer

      public edu.wpi.first.wpilibj.AddressableLEDBuffer getBuffer()
    • setBuffer

      public void setBuffer(edu.wpi.first.wpilibj.AddressableLEDBuffer buffer)
    • getView

      public edu.wpi.first.wpilibj.AddressableLEDBufferView getView()
    • setView

      public void setView(edu.wpi.first.wpilibj.AddressableLEDBufferView view)
    • getStartingIndex

      public int getStartingIndex()
    • setStartingIndex

      public void setStartingIndex(int startingIndex)
    • getEndingIndex

      public int getEndingIndex()
    • setEndingIndex

      public void setEndingIndex(int endingIndex)
    • getPort

      public int getPort()
    • setPort

      public void setPort(int port)
    • getLength

      public int getLength()
    • setLength

      public void setLength(int length)
    • getLedSpacing

      public edu.wpi.first.units.measure.Distance getLedSpacing()
    • setLedSpacing

      public void setLedSpacing(edu.wpi.first.units.measure.Distance ledSpacing)