CTL_STATUS_t sht2x_set_resolution(CTL_HUMIDITY_SENSOR_t *self, SHT2x_RESOLUTION_t r);
sht2x_set_resolution sets the sensor self to the resolution r.
sht2x_set_resolution returns a standard status code.
sht2x_set_resolution is thread-safe if the transport member in self is thread-safe. This requires that a mutex is associated with the I2C bus provided when calling sht2x_initialize_i2c.