     LDRValue = analogRead(lightSensorPin); // read light level from LDR
     airHumidity = airSensor.readHumidity(); // read humidity from DHT
     airTemperature = airSensor.readTemperature(); // read temperature from DHT
-    soilMoisture = soilSensor.readHumidity(); // read temperature from SHT10
-    soilTemperature = soilSensor.readTemperatureC(); // read humidity from SHT10
-    Serial.println(LDRValue);
-    Serial.println(airHumidity);
-    Serial.println(airTemperature);
-    Serial.println(soilMoisture);
-    Serial.println(soilTemperature);
+    sht.measure(&soilTemperature, &soilMoisture, &dewpoint);
+
+  Serial.print("Temperature: ");
+  Serial.print(temperature);
+  Serial.print(" C, Moisture: ");
+  Serial.print(moisture);
+  Serial.print(" %, Dewpoint: ");
+  Serial.print(dewpoint);
+  Serial.println(" C");
   }
 
 }

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

// setup sensor reading interval
unsigned long prevMillis = 0;
unsigned long interval = 1000;

// Initialize settings
void setup() {
  // Initialize output pins.
  pinMode(ledPin, OUTPUT);


Arduino based self regulating kitchen garden
 
 */
#include <DHT.h>

#include <Sensirion.h>

// soil related setup
#define dataPin 3
#define clockPin 4
Sensirion sht = Sensirion(dataPin, clockPin);
float soilTemperature;
float soilMoisture;
float dewpoint;

// air temperature related setup
#define DHTPIN 2        // Humidity and temperature sensor pin
