Adafruit TinyDHT Sensor Library
Classes | Macros
TinyDHT.h File Reference
#include "WProgram.h"

Go to the source code of this file.

Classes

class  DHT
 Class that stores the state and functions for the DHT. More...
 

Macros

#define MAXTIMINGS   85
 
#define DHT11   11
 Used to specify that you want to use the DHT11.
 
#define DHT22   22
 Used to specify that you want to use the DHT22.
 
#define DHT21   21
 Used to specify that you want to use the DHT21.
 
#define AM2301   21
 Used to specify that you want to use the AM2301.
 
#define BAD_HUM   -1
 Bad humitidy reading.
 
#define BAD_TEMP   -999
 Bad temperature reading.
 

Macro Definition Documentation

◆ MAXTIMINGS

#define MAXTIMINGS   85

how many timing transitions we need to keep track of. 2 * number bits+ extra