public void writeEEPROMByte(DeviceHandle handle,byte offset,byte value) throws IllegalArgumentException, UsbDisconnectedException, UsbException {
  if (offset < 0 || offset > 255) {
    throw new IllegalArgumentException("RTL2832 Tuner Controller - " + "EEPROM offset must be within range of 0 - 255");
  }
  int offsetAndValue=Integer.rotateLeft((0xFF & offset),8) | (0xFF & value);
  writeRegister(handle,Block.I2C,EEPROM_ADDRESS,offsetAndValue,2);
}

public void writeEEPROMByte ( DeviceHandle handle , byte offset , byte value ) throws IllegalArgumentException , UsbDisconnectedException , UsbException { if ( offset < 0 || offset > 255 ) { throw new IllegalArgumentException ( "RTL2832 Tuner Controller - " + "EEPROM offset must be within range of 0 - 255" ) ; } int offsetAndValue = Integer . rotateLeft ( ( 0xFF & offset ) , 8 ) | ( 0xFF & value ) ; writeRegister ( handle , Block . I2C , EEPROM_ADDRESS , offsetAndValue , 2 ) ; }
writes a single byte to the 256 - byte eeprom using the specified offset . note : introduce a 5 millisecond delay between each successive write to the eeprom or subsequent writes may fail .
