Expand description
Components for the BME280 Humidity, Pressure and Temperature Sensor.
§Usage
let bme280 =
Bme280Component::new(mux_i2c, 0x77).finalize(components::bme280_component_static!());
let temperature = components::temperature::TemperatureComponent::new(
board_kernel,
capsules_extra::temperature::DRIVER_NUM,
bme280,
)
.finalize(components::temperature_component_static!());
let humidity = components::humidity::HumidityComponent::new(
board_kernel,
capsules_extra::humidity::DRIVER_NUM,
bme280,
)
.finalize(components::humidity_component_static!());