def _read_raw_data(self):
    self.write(self._ctrl_hum, bytes([self.sampling]), 1)
    self.write(self._ctrl_meas, bytes([(((self.sampling << 5) | (self.sampling << 2)) | 1)]), 1)
    time.sleep(self.measure_delay)
    d = self.read(self._rawdata, 8)
    msb = d[self._t_msb]
    lsb = d[self._t_lsb]
    xlsb = d[self._t_xlsb]
    raw_t = ((((msb << 16) | (lsb << 8)) | xlsb) >> 4)
    msb = d[self._p_msb]
    lsb = d[self._p_lsb]
    xlsb = d[self._p_xlsb]
    raw_p = ((((msb << 16) | (lsb << 8)) | xlsb) >> 4)
    msb = d[self._h_msb]
    lsb = d[self._h_lsb]
    raw_h = ((msb << 8) | lsb)
    return (raw_t, raw_p, raw_h)
def _read_raw_data(self):
    self.write(self._ctrl_hum, bytes([self.sampling]), 1)
    self.write(self._ctrl_meas, bytes([(((self.sampling << 5) | (self.sampling << 2)) | 1)]), 1)
    time.sleep(self.measure_delay)
    d = self.read(self._rawdata, 8)
    msb = d[self._t_msb]
    lsb = d[self._t_lsb]
    xlsb = d[self._t_xlsb]
    raw_t = ((((msb << 16) | (lsb << 8)) | xlsb) >> 4)
    msb = d[self._p_msb]
    lsb = d[self._p_lsb]
    xlsb = d[self._p_xlsb]
    raw_p = ((((msb << 16) | (lsb << 8)) | xlsb) >> 4)
    msb = d[self._h_msb]
    lsb = d[self._h_lsb]
    raw_h = ((msb << 8) | lsb)
    return (raw_t, raw_p, raw_h)