|
C++ DevKit
C++ set of OOP library
|
the Class manages the DHT11 humidity and temperature sensor More...
#include <rtos_dht11.h>

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 | |
the Class manages the DHT11 humidity and temperature sensor
| rtos_DHT11::rtos_DHT11 | ( | uint | gpio_in, |
| QueueHandle_t | dht_reading_ouput_queue ) |
the constructor for rtos_DHT11 object
| gpio_in | the gpio number connected the data pin |
| dht_reading_ouput_queue | the output queue that receives readings |