Enum Class Canandcolor.Digout

java.lang.Object
java.lang.Enum<Canandcolor.Digout>
com.reduxrobotics.sensors.canandcolor.Canandcolor.Digout
All Implemented Interfaces:
Serializable, Comparable<Canandcolor.Digout>, Constable
Enclosing class:
Canandcolor

public static enum Canandcolor.Digout extends Enum<Canandcolor.Digout>
Enum representing the digital output pads on the Canandcolor. The Canandcolor has two digital output pads: DIGOUT1 and DIGOUT2. They can be configured to output high or low values at 3.3v logic depending on sensor value conditions.
  • Enum Constant Details

    • kDigout1

      public static final Canandcolor.Digout kDigout1
      Enum representing the pad silkscreened as DIG1 on the Canandcolor.
    • kDigout2

      public static final Canandcolor.Digout kDigout2
      Enum representing the pad silkscreened as DIG2 on the Canandcolor.
  • Method Details

    • values

      public static Canandcolor.Digout[] 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 Canandcolor.Digout 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