Function humidity_milli_percent
Source pub fn humidity_milli_percent(raw: u16) -> u32
Expand description
Decodes the raw humidity word to thousandths of a percent relative humidity.
This is Table 11’s RH = 100 * word / (2^16 - 1), in thousandths, rounded to
the nearest.
§Arguments
raw - the 16-bit humidity word of a measurement.
§Returns
The relative humidity in milli-percent, from 0 to 100’000.