Enum Class LedStripType

java.lang.Object
java.lang.Enum<LedStripType>
com.github.mbelling.ws281x.LedStripType
All Implemented Interfaces:
Serializable, Comparable<LedStripType>, Constable

public enum LedStripType extends Enum<LedStripType>
Dependent on constants defined in original rpi_ws281x repository (https://github.com/jgarff/rpi_ws281x).
  • Enum Constant Details

    • SK6812_STRIP_RGBW

      public static final LedStripType SK6812_STRIP_RGBW
    • SK6812_STRIP_RBGW

      public static final LedStripType SK6812_STRIP_RBGW
    • SK6812_STRIP_GRBW

      public static final LedStripType SK6812_STRIP_GRBW
    • SK6812_STRIP_GBRW

      public static final LedStripType SK6812_STRIP_GBRW
    • SK6812_STRIP_BRGW

      public static final LedStripType SK6812_STRIP_BRGW
    • SK6812_STRIP_BGRW

      public static final LedStripType SK6812_STRIP_BGRW
    • WS2811_STRIP_RGB

      public static final LedStripType WS2811_STRIP_RGB
    • WS2811_STRIP_RBG

      public static final LedStripType WS2811_STRIP_RBG
    • WS2811_STRIP_GRB

      public static final LedStripType WS2811_STRIP_GRB
    • WS2811_STRIP_GBR

      public static final LedStripType WS2811_STRIP_GBR
    • WS2811_STRIP_BRG

      public static final LedStripType WS2811_STRIP_BRG
    • WS2811_STRIP_BGR

      public static final LedStripType WS2811_STRIP_BGR
  • Method Details

    • values

      public static LedStripType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LedStripType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null