Enum Class DigoutChannel.Index

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

public static enum DigoutChannel.Index extends Enum<DigoutChannel.Index>
Enum representing the index of a digital output channel on a Canandcolor.
See Also:
  • Enum Constant Details

    • kDigout1

      public static final DigoutChannel.Index kDigout1
      The first digital output channel.
    • kDigout2

      public static final DigoutChannel.Index kDigout2
      The second digital output channel.
  • Method Details

    • values

      public static DigoutChannel.Index[] 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 DigoutChannel.Index 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