def read(self, address, n):
    data = ([0] * n)
    msgs = [I2C.Message(data, read=True)]
    self.transfer(address, msgs)
    return msgs[0].data
def read(self, address, n):
    data = ([0] * n)
    msgs = [I2C.Message(data, read=True)]
    self.transfer(address, msgs)
    return msgs[0].data