   // put ADC back
   ADCSRA = old_ADCSRA;
   
-  digitalWrite(LED_DEBUG, HIGH);
+  //digitalWrite(LED_DEBUG, HIGH);
   
 } 
 

{
  sleep_flag = flag;
  
  digitalWrite(LED_DEBUG, LOW);
  
  
  cli();

        // long int = 10 bytes in transmision string
        // byte = 3 bytes in transmision string
        char msg[35]; // string to send
        sprintf(msg, "S,%d,%i,%i,%i,%i,%lu", msgId, solr_mv, temperature_internal, temperature_external, soil_read, vcc);
        //Serial.println(msg); 
        vw_send((uint8_t *)msg, strlen(msg));
        vw_wait_tx(); // Wait until the whole message is gone
        digitalWrite(PIN_TX_POWER, LOW);
