Enum Class StripTypeValue

java.lang.Object
java.lang.Enum<StripTypeValue>
com.ctre.phoenix6.signals.StripTypeValue
All Implemented Interfaces:
Serializable, Comparable<StripTypeValue>, java.lang.constant.Constable

public enum StripTypeValue extends Enum<StripTypeValue>
The type of LEDs that are being controlled.
  • Enum Constant Details

    • GRB

      public static final StripTypeValue GRB
      LEDs that are controlled by Green-Red-Blue values.
    • RGB

      public static final StripTypeValue RGB
      LEDs that are controlled by Red-Green-Blue values.
    • BRG

      public static final StripTypeValue BRG
      LEDs that are controlled by Blue-Red-Green values.
    • GRBW

      public static final StripTypeValue GRBW
      LEDs that are controlled by Green-Red-Blue-White values.
    • RGBW

      public static final StripTypeValue RGBW
      LEDs that are controlled by Red-Green-Blue-White values.
    • BRGW

      public static final StripTypeValue BRGW
      LEDs that are controlled by Blue-Red-Green-White values.
  • Field Details

    • value

      public final int value
  • Method Details

    • values

      public static StripTypeValue[] 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 StripTypeValue 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
    • valueOf

      public static StripTypeValue valueOf(int value)
      Gets StripTypeValue from specified value
      Parameters:
      value - Value of StripTypeValue
      Returns:
      StripTypeValue of specified value