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

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

#include <rtos_dht11.h>

Collaboration diagram for rtos_DHT11:
Collaboration graph

Public Member Functions

void read_from_dht ()
 the function called by a RTOS periodic task
 
 rtos_DHT11 (uint gpio_in, QueueHandle_t dht_reading_ouput_queue)
 the constructor for rtos_DHT11 object
 

Private Attributes

uint gpio_in
 the GPIO connected to DHT11
 
QueueHandle_t dht_reading_queue
 the output queue that receives readings
 

Detailed Description

the Class manages the DHT11 humidity and temperature sensor

Constructor & Destructor Documentation

◆ rtos_DHT11()

rtos_DHT11::rtos_DHT11 ( uint gpio_in,
QueueHandle_t dht_reading_ouput_queue )

the constructor for rtos_DHT11 object

Parameters
gpio_inthe gpio number connected the data pin
dht_reading_ouput_queuethe output queue that receives readings

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