Struct bme280::BME280[][src]

pub struct BME280<I2C, D> { /* fields omitted */ }

Representation of a BME280

Methods

impl<I2C, D, E> BME280<I2C, D> where
    I2C: Read<Error = E> + Write<Error = E> + WriteRead<Error = E>,
    D: DelayMs<u8>, 
[src]

Create a new BME280 struct using the primary I²C address 0x76

Create a new BME280 struct using the secondary I²C address 0x77

Create a new BME280 struct using a custom I²C address

Initializes the BME280

Captures and processes sensor data for temperature, pressure, and humidity

Trait Implementations

impl<I2C: Debug, D: Debug> Debug for BME280<I2C, D>
[src]

Formats the value using the given formatter. Read more

impl<I2C: Default, D: Default> Default for BME280<I2C, D>
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl<I2C, D> Send for BME280<I2C, D> where
    D: Send,
    I2C: Send

impl<I2C, D> Sync for BME280<I2C, D> where
    D: Sync,
    I2C: Sync