   if (numSensors > 0 ) {
     sendTemperature(readTemperature());
   }
+  sendLDRStatus(analogRead(LDR_PIN));
+  
+  iteration = (iteration + 1) % MAX_ITERATION;
   
   hw.wait(SLEEP_TIME);
 }

}

void incomingMessage(const MyMessage &message) {
  processHeatingMessage(message);
  processACMessage(message);
  processModeMessage(message);
}

void processHeatingMessage(const MyMessage &message) {

#include <MySensor.h>
#undef DEBUG
#include "debug.h"
