Erriez DHT22 library for Arduino  1.2.1
AM2302/AM2303 DHT22 temperature and humidity sensor library for Arduino
Classes | Macros
ErriezDHT22.h File Reference

DHT22 (AM2302/AM2303) Humidity and Temperature sensor library for Arduino. More...

#include <Arduino.h>
Include dependency graph for ErriezDHT22.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DHT22
 DHT22 sensor class. More...
 

Macros

#define DHT22_MIN_READ_INTERVAL   2000
 Enable debug prints to Serial. More...
 
#define DHT22_NUM_DATA_BITS   (5 * 8)
 
#define DEBUG_PRINTLN(...)   {}
 Debug print configuration.
 

Detailed Description

DHT22 (AM2302/AM2303) Humidity and Temperature sensor library for Arduino.

Source: https://github.com/Erriez/ErriezDHT22 Documentation: https://erriez.github.io/ErriezDHT22

Definition in file ErriezDHT22.h.

Macro Definition Documentation

◆ DHT22_MIN_READ_INTERVAL

#define DHT22_MIN_READ_INTERVAL   2000

Enable debug prints to Serial.

Minimum interval between sensor reads in milli seconds

Definition at line 42 of file ErriezDHT22.h.

◆ DHT22_NUM_DATA_BITS

#define DHT22_NUM_DATA_BITS   (5 * 8)

Number of data bits is 5 Bytes * 8 bits: 1 Byte: Humidity high 1 Byte: Humidity low 1 Byte: Temperature high 1 Byte: Temperature low 1 Byte: Parity

Definition at line 50 of file ErriezDHT22.h.