 
 DHT dht(DHTPIN, DHTTYPE);
 
-int f_wdt=1;
-int sleep_count=0;
+int sleep_index=0;
 int ack=0;
 
 void setup() {

#include <DHT.h>
#include <avr/sleep.h>
#include <avr/power.h>
#include <avr/wdt.h>

#define DHTPIN 2
#define DHTTYPE DHT11

  dht.begin();
  pinMode(DHTALIM, OUTPUT);
  pinMode(TRANSCEIVERALIM, OUTPUT);
}

void loop() {
  if (sleep_index >= 0)
  {
    
    Serial.println("UP!");
