View Source HTS221.AVConf (hts221 v1.1.0)
Register for reading and writing the level temperature and humidity average
By default the average is calculated off of 16 temperature samples and 32 humidity samples.
The more samples the less degree of error in the reading, however that also will cause the HTS221 to draw more power. Check the data sheet section 7.2 for more information.
Link to this section Summary
Link to this section Types
Specs
humidity_sample() :: 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512
Specs
t() :: %HTS221.AVConf{ humidity_samples: humidity_sample(), temperature_samples: temperature_sample() }
Specs
temperature_sample() :: 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256