     abort();
   }
 
-  // radio begin to power down : 80 ms
-  radio.begin();
-  radio.enableDynamicPayloads();
-  radio.setAutoAck(1);
-  radio.setRetries(15, 15);
-  //radio.setPALevel(RF24_PA_HIGH);
-  radio.setPALevel(RF24_PA_LOW);
-  radio.setDataRate(RF24_250KBPS);
-  radio.setPayloadSize(11);
-  radio.openWritingPipe(pipes[0]);
-  radio.stopListening();
 
+  radio.powerUp();
   radio.write(&payload , sizeof(payload));
   yield();
   //delay(100);

    sleep();
    abort();
  }
  //sensors.setResolution(outsideThermometer, TEMPERATURE_PRECISION);
  long stopmilis = millis();
  payload.humi = ( stopmilis - startmilis ) * 10 ;



// DS18B20
#define ONE_WIRE_BUS 3
#define TEMPERATURE_PRECISION 9

OneWire oneWire(ONE_WIRE_BUS);
