   pinMode(ledPin, OUTPUT);
 
   // Initialize input pins.
-  pinMode(lightSensorPin, INPUT); // Is this needed? It is analog pin..
-  
+  pinMode(lightSensorPin, INPUT);
+
   airSensor.begin(); // begin DHT so it is ready for reading
 
 }

#define DHTPIN 2        // Humidity and temperature sensor pin
#define DHTTYPE DHT22   // Model DHT 22 (AM2302)
DHT airSensor(DHTPIN, DHTTYPE); // setup DHT sensor
float airHumidity;
float airTemperature;

// light related setup
#define lightSensorPin A0 // Set to whereever light sensor is connected

// activity led setup
int ledPin = 13; // this is just for checking activity

// Main loop
void loop() { 
  // Read sensor values
  LDRValue = analogRead(lightSensorPin); // read light level from LDR
  airHumidity = airSensor.readHumidity(); // read humidity from DHT
  airTemperature = airSensor.readTemperature(); // read temperature from DHT
  soilHumidity = sht1x.readHumidity(); // read temperature from SHT10
  soilTemperature = sht1x.readTemperatureC(); // read humidity from SHT10

}



