code: def read(self, addr, size):
          '''Read access.
  
          :param addr: i2c slave address
          :type addr: char
          :param size: size of transfer
          :type size: int
          :returns: data byte array
          :rtype: array.array('B')
  
          '''
          self.set_addr(addr | 0x01)
          self.set_size(size)
          self.start()
          while not self.is_ready:
              pass
  
          return self.get_data(sizef read(self, addr, size):
          '''Read access.
  
          :param addr: i2c slave address
          :type addr: char
          :param size: size of transfer
          :type size: int
          :returns: data byte array
          :rtype: array.array('B')
  
          '''
          self.set_addr(addr | 0x01)
          self.set_size(size)
          self.start()
          while not self.is_ready:
              pass
  
          return self.get_data(size)
docs: Read access.
  
          :param addr: i2c slave address
          :type addr: char
          :param size: size of transfer
          :type size: int
          :returns: data byte array
          :rtype: array.array('B')