 
 int sampleRate = 2500; //Milliseconds between sampling
 
-#define DHTPWR 7
-#define DHTGND 4
-#define DHTPIN 6     // what pin we're connected to
+#define DHTPWR 7 //Power
+#define DHTGND 4 //Ground
+#define DHTPIN 6 //Data Pin (digital)
+
+#define LM34PWR A0 //Power
+#define LM34GND A2 //Ground
+#define LM34PIN A1 //Data Pin (analog)
 
 // Uncomment whatever type you're using!
 //#define DHTTYPE DHT11   // MDHT 11 

void loop() {
  // Reading temperature or humidity takes about 250 milliseconds!
  // Sensor readings may also be up to 2 seconds 'old' (its a very slow sensor)
  float h = dht.readHumidity();
  float tC = dht.readTemperature();
  float tF = tC * 9 / 5 + 32;
  float l = 0;

  // check if returns are valid, if they are NaN (not a number) then something went wrong!
  if (isnan(tC) || isnan(h)) {

  
  delay(sampleRate);
}

long readVcc() {
  long result;
  // Read 1.1V reference against AVcc
  ADMUX = _BV(REFS0) | _BV(MUX3) | _BV(MUX2) | _BV(MUX1);
  delay(2); // Wait for Vref to settle
  ADCSRA |= _BV(ADSC); // Convert
  while (bit_is_set(ADCSRA,ADSC));
  result = ADCL;
  result |= ADCH<<8;
  result = 1126400L / result; // Back-calculate AVcc in mV
  return result;
}
