def read_sensor(self):
        # set mode to read sensor
        self.i2c.write8(0x00, 1)
        # read 2 registers
        result = self.i2c.readList(0x00, 2)
        # convert to something useful... 
        return self._convert_12b_split(result[0], result[1])
Read sensor values.
dataset/ETHPy150Open FishPi/FishPi-POCV---Command---Control/fishpi/sensor/temperature_TMP102.py/TemperatureSensor.read_sensor