rust-embedded-community / rust-measurements

Metric, Imperial, and other measurement handling for Rust. Length, Temperature, Weight, and Volume
https://crates.io/crates/measurements
28 stars 10 forks source link

Add humidity #19

Closed dbrgn closed 3 years ago

dbrgn commented 6 years ago

Humidity types would be nice. (I personally only need relative humidity. Absolute humidity is quite complex to calculate from relative humidity. Also, it requires the temperature for an estimate to be calculated.)

dbrgn commented 6 years ago

Ah, actually I do need absolute humidity (g/m³)... But since the sensor I'm using requires a fixed-point float, I'm probably better off implementing my own wrapper.

Adding support for humidity might still be worthwhile though.

eldruin commented 3 years ago

This was done by @pukeko37 in #27. Closing.