# `SHT4X.Measurement`
[🔗](https://github.com/elixir-sensors/sht4x/blob/v0.3.3/lib/sht4x/measurement.ex#L7)

One sensor measurement

# `t`

```elixir
@type t() :: %SHT4X.Measurement{
  dew_point_c: float() | nil,
  humidity_rh: float(),
  quality: SHT4X.quality(),
  raw_reading_humidity: integer(),
  raw_reading_temperature: integer(),
  temperature_c: float(),
  timestamp_ms: integer()
}
```

# `from_raw`

Interprets one raw temperature/humidity message

This returns a Measurement struct with the raw register values and their
interpreted temperature and humidity.  It does not apply any compensation so
this is real temperature and humidity detected.

# `humidity_rh_to_raw`

```elixir
@spec humidity_rh_to_raw(float()) :: integer()
```

# `raw_to_humidity_rh`

```elixir
@spec raw_to_humidity_rh(0..65535) :: float()
```

# `raw_to_temperature_c`

```elixir
@spec raw_to_temperature_c(0..65535) :: float()
```

# `temperature_c_to_raw`

```elixir
@spec temperature_c_to_raw(float()) :: integer()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
