changing i2c header for write operation allowing to write more than one byte