|
DHT sensor library
|
#include "Arduino.h"Go to the source code of this file.
Classes | |
| class | DHT |
| Class that stores state and functions for DHT. More... | |
| class | InterruptLock |
| Class that defines Interrupt Lock Avaiability. More... | |
Macros | |
| #define | DEBUG_PRINTER Serial |
| #define | DEBUG_PRINT(...) {} |
| #define | DEBUG_PRINTLN(...) {} |
| #define | DHT11 11 |
| #define | DHT12 12 |
| #define | DHT22 22 |
| #define | DHT21 21 |
| #define | AM2301 21 |
This is a library for DHT series of low cost temperature/humidity sensors.
You must have Adafruit Unified Sensor Library library installed to use this class.
Adafruit invests time and resources providing this open source code, please support Adafruit andopen-source hardware by purchasing products from Adafruit!
Written by Adafruit Industries.
MIT license, all text above must be included in any redistribution
| #define DEBUG_PRINTER Serial |
Define where debug output will be printed. \
| #define DEBUG_PRINT | ( | ... | ) | {} |
Debug Print Placeholder if Debug is disabled
| #define DEBUG_PRINTLN | ( | ... | ) | {} |
Debug Print Line Placeholder if Debug is disabled
| #define DHT11 11 |
DHT TYPE 11
| #define DHT12 12 |
DHY TYPE 12
| #define DHT22 22 |
DHT TYPE 22
| #define DHT21 21 |
DHT TYPE 21
| #define AM2301 21 |
AM2301
1.8.13