|
idfxx 1.0.0
Modern C++23 components for ESP-IDF
|
DHT11/DHT22 temperature and humidity sensor driver. More...
#include <idfxx/error>#include <idfxx/gpio>#include <chrono>#include <cstdint>#include <memory>#include <string>#include <thermo/thermo>#include <utility>#include "sdkconfig.h"Go to the source code of this file.
Classes | |
| struct | idfxx::dht::reading |
| One temperature and humidity measurement. More... | |
| class | idfxx::dht::sensor |
| DHT11/DHT22 sensor on a single GPIO data line. More... | |
| struct | idfxx::dht::sensor::config |
| Configuration for a DHT sensor. More... | |
Namespaces | |
| namespace | idfxx |
| namespace | idfxx::dht |
| DHT sensor classes and utilities. | |
Enumerations | |
| enum class | idfxx::dht::model : uint8_t { idfxx::dht::model::dht11 , idfxx::dht::model::dht22 } |
| Supported sensor models. More... | |
Functions | |
| std::string | idfxx::to_string (dht::model m) |
| Returns a string representation of a DHT sensor model. | |
DHT11/DHT22 temperature and humidity sensor driver.
Definition in file dht.hpp.