Class Pixy2.Version

  • Enclosing class:
    Pixy2

    public static class Pixy2.Version
    extends java.lang.Object
    • Field Detail

      • hardware

        protected int hardware
      • firmwareMajor

        protected int firmwareMajor
      • firmwareMinor

        protected int firmwareMinor
      • firmwareBuild

        protected int firmwareBuild
      • firmwareType

        protected char[] firmwareType
    • Method Detail

      • print

        public void print()
        Prints version data to console
      • toString

        public java.lang.String toString()
        Returns a string of version data
        Overrides:
        toString in class java.lang.Object
        Returns:
        String of version data;
      • getHardware

        public int getHardware()
        Gets Pixy2 Hardware Version
        Returns:
        Pixy2 Hardware Version
      • getFirmwareMajor

        public int getFirmwareMajor()
        Gets Pixy2 Firmware Version Major
        Returns:
        Pixy2 Firmware Version Major
      • getFirmwareMinor

        public int getFirmwareMinor()
        Gets Pixy2 Firmware Version Minor
        Returns:
        Pixy2 Firmware Version Minor
      • getFirmwareBuild

        public int getFirmwareBuild()
        Gets Pixy2 Firmware Version Build
        Returns:
        Pixy2 Firmware Version Build
      • getfirmwareType

        public char[] getfirmwareType()
        Gets Pixy2 Firmware Type
        Returns:
        Pixy2 Firmware Type
      • getFirmwareTypeString

        public java.lang.String getFirmwareTypeString()
        Gets Pixy2 Firmware Type
        Returns:
        Pixy2 Firmware Type