update examples
This commit is contained in:
parent
5468a27b02
commit
053e44de42
2 changed files with 3 additions and 2 deletions
|
@ -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<I2CError>>
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue