 float read_battery_voltage(void) {
   float vmess;
   digitalWrite(VMESS_OUT, HIGH);
-  Sleepy::loseSomeTime(500);      // Wait 100ms 
+  Sleepy::loseSomeTime(500);      // Wait 500ms 
   vmess=analogRead(VMESS_IN);
   vmess=vmess+analogRead(VMESS_IN);
   vmess=vmess+analogRead(VMESS_IN);

  if ( network.available() ) {
    network_busy = true;
    my_millis = millis(); 
    RF24NetworkHeader header;    
    network.read(header,&payload,sizeof(payload));
    switch (header.type) {
      case 1:
        txheader.type=1;
        //****

        break;     
    }
  }
  digitalWrite(STATUSLED,STATUSLED_OFF); 
  if ( ! network_busy ) {
    switch ( mode ) {
      case sleep:
