Closed lily-mara closed 7 years ago
Thanks, we'll probably be moving some of these traits out of this library into separate crates at a point, but I see no reason not to merge this until I get around to making those other changes. See https://github.com/rust-embedded/rust-i2cdev/pull/28
This creates a trait for Altimeter sensors, providing altitude readings in meters. There is also a default implementation specified for any type that implements Barometer. I also fixed some documentation that implied some functions had different return types than what they really do.