     Serial.begin(9600); 
     pinMode(LED_DEBUG, OUTPUT); 
     
-    pinMode(PIN_WAKEUP, INPUT);
     pinMode(PIN_TX, OUTPUT); 
 
     


  if (sleep_flag == SLEEP_FLAG_DARK) {
    // Turn off watchdog
    wdt_disable();
    // Attach the external interupt to the LDR.
    attachInterrupt(0, wakeUp, HIGH);
  }

  power_all_disable();  // power off ADC, Timer 0 and 1, serial interface

    if (now - tx_last >= tx_interval) {
        tx_last = now;
                
        int solar_read = analogRead(PIN_SOLAR);
 
                
        // Send a transmission
        // int = 5 bytes in transmision string
        // long int = 10 bytes in transmision string
        // byte = 3 bytes in transmision string
        char msg[25]; // string to send
        sprintf(msg, "S,%d,%u,%lu", msgId, solar_read, readVcc());
        Serial.println(msg); 
        vw_send((uint8_t *)msg, strlen(msg));
        vw_wait_tx(); // Wait until the whole message is gone
