components

Module hs3003

Source
Expand description

Components for the HS3003 Temperature/Humidity Sensor.

§Usage

let hs3003 = Hs3003Component::new(mux_i2c, mux_alarm, 0x44).finalize(
    components::hs3003_component_static!(sam4l::ast::Ast));
let temperature = components::temperature::TemperatureComponent::new(board_kernel, hs3003).finalize(());
let humidity = components::humidity::HumidityComponent::new(board_kernel, hs3003).finalize(());

Structs§

Type Aliases§