View Source HTS221.Temperature (hts221 v1.1.0)

Temperature Registers

This module abstracts over the two temperature registers (0x2A, 0x2B) and provide functionally to read both at once to provide the raw ADC data on in the two registers.

Link to this section Summary

Link to this section Types

Specs

t() :: %HTS221.Temperature{
  raw: 0..65535,
  temp_out_h: byte(),
  temp_out_l: byte()
}

Link to this section Functions

Specs

from_binary(binary()) :: t()