 #define maxlen 50
-
+#include "DHT.h"
+#define DHTPIN 2
+#define DHTTYPE DHT22
+DHT dht(DHTPIN, DHTTYPE);
 int pingPin[3] = {3, 5, 7}; //{T,R,L}
 int max_timeout[3] = {6000, 3250, 3250}; //{T,R,L}
 int timeout;

    Serial.print(",");
    Serial.print(data[1]);
    Serial.print(",");
    Serial.println(data[2]);
  }
  inc = inc % 3;

}

short idx = 0;
short sleep_left = 0;
int i = 0;
int temp_count = 0;
int statusLed = 11;
int errorLed = 12;

