hts221 v0.2.1 HTS221.Humidity View Source

Humidity Registers

This module is useful for reading the values from the humidity registers (0x28, 0x29) and providing both the individual readings and the complete raw 16-bit integer.

Link to this section Summary

Link to this section Types

Specs

t() :: %HTS221.Humidity{
  humidity_out_h: byte(),
  humidity_out_l: byte(),
  raw: HTS221.s16()
}

Link to this section Functions

Specs

from_binary(binary()) :: t()