docs.rs failed to build dps310-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
dps310-0.1.5
DPS310 - embedded-hal I2C driver crate
A platform agnostic driver to interface with the DPS310 barometric pressure & temp sensor. This driver uses I2C via embedded-hal. Note that the DPS310 also supports SPI, however that is not (yet) implemented in this driver.
Usage
Include this crate as a dependency in your Cargo.toml
[dependencies.dps310]
version = "<version>"
Use embedded-hal implementation to get I2C, then create a driver instance
use ;
let address = 0x77;
let mut dps = DPS310 new.unwrap;
dps.trigger_measurement.unwrap;
if dps.data_ready.unwrap