bosch_bme680 
A pure rust driver for the Bosch BME680 environmental sensor that focuses on ease of use.
Additional information
- BME680 product page
- Official C version
- More detailed documentation can be found in the download section of the product page.
Simple example
Mock i2c and delay have to be replaced with specific hardware crates.
!
embedded-hal-async usage
This crate has optional support for embedded-hal-async, which provides
asynchronous versions of the embedded-hal traits. To avoid an unnecessary
dependency on embedded-hal-async for projects which do not require it, the
embedded-hal-async support is an optional feature.
In order to use the embedded-hal-async driver, add the following to your
Cargo.toml:
[]
= { = "1.0.3", = ["embedded-hal-async"] }
Then, construct an instance of the AsyncBme680 struct using the
embedded_hal_async I2c and Delay traits.