components

Module hts221

Source
Expand description

Components for the HTS221 Temperature/Humidity Sensor.

§Usage

let hts221 = Hts221Component::new(mux_i2c, mux_alarm, 0x5f).finalize(
    components::hts221_component_static!(sam4l::ast::Ast));
let temperature = components::temperature::TemperatureComponent::new(board_kernel, hts221).finalize(());
let humidity = components::humidity::HumidityComponent::new(board_kernel, hts221).finalize(());

Structs§

Type Aliases§