Crate dht22_sensor

Source
Expand description

DHT22 Sensor Driver for Embedded Rust

This crate provides a platform-agnostic driver for the DHT22 (AM2302) temperature and humidity sensor, built on top of the embedded-hal traits.

§Features

  • Blocking synchronous API using embedded-hal traits
  • Designed for no_std environments
  • Optional logging support via defmt

§Dependencies

This driver depends on the following embedded-hal traits:

§Optional Features

  • defmt: Implements defmt::Format for logging support

Re-exports§

pub use dht22::Dht22;
pub use dht22::Reading;
pub use error::DhtError;

Modules§

dht22
error