diff --git a/examples/reading_sensor_data.rs b/examples/reading_sensor_data.rs index 2fac44b..9fb14da 100644 --- a/examples/reading_sensor_data.rs +++ b/examples/reading_sensor_data.rs @@ -1,6 +1,6 @@ #![no_std] -use bme680::*; +use bme680::{Bme680, Error, I2CAddress, IIRFilterSize, OversamplingSetting, PowerMode, SettingsBuilder}; use core::result; use core::time::Duration; use embedded_hal::delay::DelayNs; @@ -8,6 +8,7 @@ use linux_embedded_hal as hal; use linux_embedded_hal::{Delay, I2CError}; use log::info; + // Please export RUST_LOG=info in order to see logs in the console. fn main() -> result::Result<(), Error> { diff --git a/src/lib.rs b/src/lib.rs index 910ddda..92e60be 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,7 +6,7 @@ //! ```no_run -//! use crate::*; +//! use bme680::{Bme680, Error, I2CAddress, IIRFilterSize, OversamplingSetting, PowerMode, SettingsBuilder}; //! use core::result; //! use core::time::Duration; //! use embedded_hal::delay::DelayNs;