Is this usage of Wire.write() correct ?