pub fn read_temperature(&mut self) -> Result<f32, Error<E>> {
        let mut data = [0; 2];
        self.i2c
            .write_read(self.address, &[Register::TEMPERATURE], &mut data)
            .map_err(Error::I2C)?;
        Ok(conversion::convert_temp_from_register(data[0], data[1]))
    }
/// Read the temperature from the sensor (celsius).
Read the temperature from the sensor (celsius).
Read the temperature from the sensor ( celsius ) .
pub fn read_temperature(&mut self) -> Result<f32, Error<E>> {
        let mut data = [0; 2];
        self.i2c
            .write_read(self.address, &[Register::TEMPERATURE], &mut data)
            .map_err(Error::I2C)?;
        Ok(conversion::convert_temp_from_register(data[0], data[1]))
    }
pub fn read_temperature ( & mut self ) -> Result < f32 , Error < E > > { let mut data = [ 0 ; 2 ] ; self . i2c . write_read ( self . address , & [ Register :: TEMPERATURE ] , & mut data ) . map_err ( Error :: I2C ) ? ; Ok ( conversion :: convert_temp_from_register ( data [ 0 ] , data [ 1 ] ) ) }
Read the temperature from the sensor (celsius).
Read the temperature from the sensor ( celsius ) .
&mut self
&mut self