6 #include "WProgram.h"
\r
12 written by Adafruit Industries
\r
15 // how many timing transitions we need to keep track of. 2 * number bits + extra
\r
16 #define MAXTIMINGS 85
\r
26 uint8_t _pin, _type, _count;
\r
27 unsigned long _lastreadtime;
\r
28 boolean firstreading;
\r
31 DHT(uint8_t pin, uint8_t type, uint8_t count=6);
\r
33 float readTemperature(bool S=false);
\r
34 float convertCtoF(float);
\r
35 float convertFtoC(float);
\r
36 float computeHeatIndex(float tempFahrenheit, float percentHumidity);
\r
37 float readHumidity(void);
\r