1 stable release
Uses old Rust 2015
1.0.0 | Jul 25, 2018 |
---|
#21 in #pressure-sensor
12KB
223 lines
MS5611 Library for Rust
A library for the MS5611 barometric pressure sensor. Only supports the i2c interface (no SPI).
Features
- Per datasheet, computes the second order temperature compensation.
- Validates the PROM's checksum.
Usage
See basic test in lib.rs
.
Testing
By default, uses i2c bus=1, addr=0x77. To override, use these environment variables:
MS5611_I2C_BUS2=1 MS5611_I2C_ADDR=119 cargo test
lib.rs
:
A library for the MS5611 barometric pressure sensor.
Dependencies
~2–3.5MB
~59K SLoC