Пример #1
0
        private I2CData readAddressOnNthDevice(int i2cAddressValue)
        {
            I2CData scanOutput;
            byte    i2cAddressMemPos = 0x00;

            scanOutput = mem.read((byte)i2cAddressValue, i2cAddressMemPos);
            return(scanOutput);
        }
Пример #2
0
 /** @brief Read a block of the memory of the NTag I2C.
  *  @param i2cAddress is the address of the device to be found on the i2c bus
  *  @param address is the block address on the Ntag I2C memory
  *
  * @return
  */
 public I2CData readBlockMemory(byte I2Caddress, byte address)
 {
     return(block.read(I2Caddress, address));
 }