#include <DHT.h>
Public Member Functions | |
float | CalcdewPoint (float const celsius, float const humidity) |
float | CalcdewPointFast (float const celsius, float const humidity) |
DHT (PinName pin, eType DHTtype) | |
eError | readData (void) |
float | ReadHumidity (void) |
float | ReadTemperature (eScale const Scale) |
~DHT () | |
Private Member Functions | |
float | CalcHumidity () |
float | CalcTemperature () |
float | ConvertCelciustoFarenheit (float const) |
float | ConvertCelciustoKelvin (float const) |
eError | stall (DigitalInOut &io, int const level, int const max_time) |
Private Attributes | |
eType | _DHTtype |
bool | _firsttime |
float | _lastHumidity |
time_t | _lastReadTime |
float | _lastTemperature |
PinName | _pin |
uint8_t | DHT_data [5] |
float DHT::CalcdewPoint | ( | float const | celsius, |
float const | humidity | ||
) |
float DHT::CalcdewPointFast | ( | float const | celsius, |
float const | humidity | ||
) |
float DHT::CalcHumidity | ( | ) | [private] |
float DHT::CalcTemperature | ( | ) | [private] |
float DHT::ConvertCelciustoFarenheit | ( | float const | celsius | ) | [private] |
float DHT::ConvertCelciustoKelvin | ( | float const | celsius | ) | [private] |
eError DHT::readData | ( | void | ) |
float DHT::ReadHumidity | ( | void | ) |
float DHT::ReadTemperature | ( | eScale const | Scale | ) |
eError DHT::stall | ( | DigitalInOut & | io, |
int const | level, | ||
int const | max_time | ||
) | [private] |
eType DHT::_DHTtype [private] |
bool DHT::_firsttime [private] |
float DHT::_lastHumidity [private] |
time_t DHT::_lastReadTime [private] |
float DHT::_lastTemperature [private] |
uint8_t DHT::DHT_data[5] [private] |