26 #define DEBUG_PRINTER \ 32 #define DEBUG_PRINT(...) \ 33 { DEBUG_PRINTER.print(__VA_ARGS__); } 34 #define DEBUG_PRINTLN(...) \ 35 { DEBUG_PRINTER.println(__VA_ARGS__); } 37 #define DEBUG_PRINT(...) \ 39 #define DEBUG_PRINTLN(...) \ 55 DHT(uint8_t pin, uint8_t type, uint8_t count = 6);
56 void begin(uint8_t usec = 55);
57 float readTemperature(
bool S =
false,
bool force =
false);
58 float convertCtoF(
float);
59 float convertFtoC(
float);
60 float computeHeatIndex(
bool isFahrenheit =
true);
61 float computeHeatIndex(
float temperature,
float percentHumidity,
62 bool isFahrenheit =
true);
63 float readHumidity(
bool force =
false);
64 bool read(
bool force =
false);
75 uint32_t _lastreadtime, _maxcycles;
79 uint32_t expectPulse(
bool level);
88 #if !defined(ARDUINO_ARCH_NRF52) 93 #if !defined(ARDUINO_ARCH_NRF52) Class that stores state and functions for DHT.
Definition: DHT.h:56
Class that defines Interrupt Lock Avaiability.
Definition: DHT.h:88