Module com.pi4j

Class I2CBase

    • Field Detail

      • isOpen

        protected boolean isOpen
    • Method Detail

      • isOpen

        public boolean isOpen()
        I2C Device Communication State is OPEN
        Specified by:
        isOpen in interface I2C
        Returns:
        The I2C device communication state
      • getRegister

        public I2CRegister getRegister​(int address)
        Get an encapsulated interface for reading and writing to a specific I2C device register Get an encapsulated interface for reading and writing to a specific I2C device register
        Specified by:
        getRegister in interface I2C
        Parameters:
        address - a int.
        Returns:
        a I2CRegister object.