 #define READ_SENSORS
 // send the data via 433MHZ Tx
 #define SEND_DATA
+// read photo resistor (LDR)
+#define USE_LDR
 
 #ifdef DEBUG
  // http://arduiniana.org/libraries/streaming/
  // has to be included BEFORE Flash
  #include <Streaming.h>
  #include <Flash.h>
+
+ // UART baud rate
+ #define UART_BAUD_RATE  9600
 #endif // DEBUG
 
 #ifdef SEND_DATA

    }
  }
#endif // SCAN_SENSORS
}

int getRawTemperature(float temp,int precision=12) {

  } // if ( getDeviceCount() > 0 )
#endif // READ_SENSORS

#ifdef USE_LDR
  // divide the resulting value:
  // - with a 10k resistor divide the value by 2
  // - for 100k resistor divide by 4.
  // - this is a 10bit (0..1023) ADC
  int ldr_value = analogRead(LDR_PIN)/4;
#ifdef DEBUG
  Serial << "LDR: " << ldr_value << endl;
#endif // DEBUG
  SEND_LDR(ldr_value);
#endif // USE_LDR

  SEND_SYNC(2);
}

