CTL_STATUS_t sht1x_read_true_humidity(SHT1X_DRIVER_t *self,
                                      float *temperature,
                                      float *rh_linear,
                                      float *rh_true);

sht1x_read_true_humidity starts a measurement of temperature and humidity 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 then used to compensate the linear humidity measurement for true humidity.

The supply-compensated temperature measurement is stored to temperature, the linear humidity measurement is stored to rh_linear, and the temperature-compensated linear humidity is stored to rh_true.

sht1x_read_true_humidity returns any communication error in the function result.