Enum Class PiVersion

java.lang.Object
java.lang.Enum<PiVersion>
org.photonvision.common.hardware.PiVersion
All Implemented Interfaces:
Serializable, Comparable<PiVersion>, Constable

public enum PiVersion extends Enum<PiVersion>
  • Enum Constant Details

    • PI_B

      public static final PiVersion PI_B
    • COMPUTE_MODULE

      public static final PiVersion COMPUTE_MODULE
    • ZERO_W

      public static final PiVersion ZERO_W
    • ZERO_2_W

      public static final PiVersion ZERO_2_W
    • PI_3

      public static final PiVersion PI_3
    • PI_4

      public static final PiVersion PI_4
    • PI_5

      public static final PiVersion PI_5
    • COMPUTE_MODULE_3

      public static final PiVersion COMPUTE_MODULE_3
    • UNKNOWN

      public static final PiVersion UNKNOWN
  • Method Details

    • values

      public static PiVersion[] 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 PiVersion 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
    • getPiVersion

      public static PiVersion getPiVersion()