def writeList(self, reg, list):
    try:
      if self.debug:
        print("I2C: Writing list to register 0x%02X:" % reg)
        print(list)
      self.bus.write_i2c_block_data(self.address, reg, list)
    except IOError as err:
      return self.errMsg()
Writes an array of bytes using I2C format
dataset/ETHPy150Open DexterInd/GrovePi/Software/Python/grove_barometer_sensors/barometric_sensor_bmp180/Adafruit_I2C.py/Adafruit_I2C.writeList