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

float airTemperature;

// light related setup
int lightSensorPin = 3; // Set to whereever light sensor is connected
int lampRelay = 4; // Set to whereever relay for lamp is connected

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

Arduino based self regulating kitchen garden
 
 */

#include <SHT1x.h>
#include <DHT.h>

// soil related setup
#define soilDataPin  3
#define soilClockPin 4
SHT1x soilSensor(soilDataPin, soilClockPin);
float soilTemperature;
float soilMoisture;

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