components

Module moisture

Source
Expand description

Component for any moisture sensor.

§Usage

    let moisture = components::moisture::MoistureComponent::new(
        board_kernel,
        capsules_extra::moisture::DRIVER_NUM,
        chirp_moisture,
    )
    .finalize(components::moisture_component_static!(ChirpI2cMoistureType));

Structs§

Type Aliases§