C++ DevKit
C++ set of OOP library
Loading...
Searching...
No Matches
DHT11 Class Reference

the Class manages the DHT11 humidity and temperature sensor More...

#include <dht11.h>

Collaboration diagram for DHT11:
Collaboration graph

Public Member Functions

void read_from_dht (struct_DHTReading *result)
 the member used to read and convert the values send by DHT11
 
 DHT11 (uint gpio_in_)
 Construct a new DHT11 object.
 

Detailed Description

the Class manages the DHT11 humidity and temperature sensor

Constructor & Destructor Documentation

◆ DHT11()

DHT11::DHT11 ( uint gpio_in_)

Construct a new DHT11 object.

Parameters
gpio_in_the GPIO connected to DHT11

Member Function Documentation

◆ read_from_dht()

void DHT11::read_from_dht ( struct_DHTReading * result)

the member used to read and convert the values send by DHT11

Parameters
resultaccording to struct_DHTReading structure

The documentation for this class was generated from the following files: