 // The transmit interval.
 const long tx_interval = 2000; 
 
-int light_level = 0; // latest light reading from the LDR
-
 byte ledState = HIGH;
 byte msgId = 0;
 
 byte sleep_flag;
 byte awake_tx_count = 0;
 
+int light_level = 0;
+
 Servo servo_horz;
 
 // Store the current servo positions. 

        // Move the panels if needed.
        tkr_move();
        
        if (light_level < DARK_THRESHOLD) {
          //goToSleep(SLEEP_FLAG_DARK);
          //TODO connect PIN_LDR_LEFT to INT0
        }
        
    }

#define SERVO_HORZ_MIN 700
#define SERVO_PIN_HORZ_POWER 8 // PB0

#define SLEEP_FLAG_DARK 0  // Gone to sleep because it is dark
#define SLEEP_FLAG_IDLE 1  // Gone to sleep because nothing to do

