DPS422 embedded-hal I2C driver crate
A platform agnostic driver to interface with the DPS422 barometric pressure & temp sensor. This driver uses I2C via embedded-hal. Note that the DPS422 also supports SPI, however that is not (yet) implemented in this driver.
Usage
Include this crate as a dependency in your Cargo.toml
[dependencies.dps422]
version = "<version>"
Use embedded-hal implementation to get I2C, then create a driver instance
use ;
let address = 0x76;
let mut dps = DPS422 new.unwrap;
dps.trigger_measurement.unwrap;
if dps.data_ready.unwrap