Class that stores state and functions for interacting with DHT_Unified.
More...
#include <DHT_U.h>
Class that stores state and functions for interacting with DHT_Unified.
◆ DHT_Unified()
DHT_Unified::DHT_Unified |
( |
uint8_t |
pin, |
|
|
uint8_t |
type, |
|
|
uint8_t |
count = 6 , |
|
|
int32_t |
tempSensorId = -1 , |
|
|
int32_t |
humiditySensorId = -1 |
|
) |
| |
Instantiates a new DHT_Unified class.
- Parameters
-
pin | pin number that sensor is connected |
type | type of sensor |
count | number of sensors |
tempSensorId | temperature sensor id |
humiditySensorId | humidity sensor id |
◆ temperature()
Returns temperature stored in _temp.
- Returns
- Temperature value
◆ humidity()
Returns humidity stored in _humidity.
- Returns
- Humidity value
The documentation for this class was generated from the following files: