Synopsis
CTL_STATUS_t sht1x_read_temperature(SHT1X_DRIVER_t *self,
                                    float *measurement);
Description

sht1x_read_temperature starts a measurement of temperature using SHT1x self and the set resolution. On completion, the raw temperature ADC is converted to degrees Celsius with compensation for the supply voltage. The compensated temperature measurement is stored to measurement.

sht1x_read_temperature returns any communication error in the function result.