Expand description

This is a Rust API to obtain temperature and humidity measurements from a DHT22 connected to a Raspberry Pi.

This library is essentially a port of the Adafruit_Python_DHT library from C to Rust.

This library has been tesed on a DHT22 from Adafruit using a Raspberry Pi Module B+.

Structs

A temperature and humidity reading from the DHT22.

Enums

Errors that may occur when reading temperature.

Functions

Read temperature and humidity from a DHT22 connected to a Gpio pin on a Raspberry Pi.