DHT
Class to read data from DHT11 humidity and temperature sensor.
Public Types
Type
Name
enum
enum
enum
Public Functions
Type
Name
int
float
float
float
float
Public Types Documentation
Public Functions Documentation
Parameters:
pin data pin of sensor
DHTtype type of sensor
read the data from sensor
Returns:
eError or 0 in case of no error
read last humidity, readData has to be called to update the value
Returns:
humidity in %
read last temperature, readData has to be called to update the value
Parameters:
Scale select the scale (CELCIUS, FARENHEIT or KELVIN)
Returns:
temperature in selected scale
The documentation for this class was generated from the following file: D:/w/hw-libs/\_libs\_/libraries/DHT.h
Last updated