  {
   digitalWrite(led1,HIGH);
   Serial.println("Toprak su seviyesi / Soil Water level: LOW");
-  
+
   for (pos = 0; pos <= 90; pos += 5) {
     // in steps of 1 degree
-    
-    motor.write(pos);              
+
+    motor.write(pos);
        delay(150);
-       
+
   }
   digitalWrite(led1,LOW);
  }

  // Distance detecting & monitoring
  long duration, distance;
  digitalWrite(trigPin, LOW);
  delayMicroseconds(2); 
  digitalWrite(trigPin, HIGH);
  delayMicroseconds(10);
  digitalWrite(trigPin, LOW);

/*
 * Garduino | 0.1
 * Plant Monitoring & Management System on Arduino
 *
 * Water level detecting: Sensor(A0), led1(7), integers(watersensor,WaterSensorValue)
 * DHT temp & humidity detecting: Sensor(Digital 2), integers(h,t,hic)
 * Servo motor controlling: Motor(Digital 9), integers(motor,pos)
 * IR Controlling: Receiver(Digital 13), integers(RECV_PIN)
 * Distance detecting: Sensor(Digital 3 & 2), VCC to Arduino 5v GND to Arduino GND
 *
 * Created by Kerim Kaan (kerimkaan.com)
 *
 *
 * Before use please read README.md file.
 * Kullanmadan önce lütfen BENİOKU.md dosyasını okuyunuz.
 *
 * Repository: github.com/kerimkaan/Garduino
 */

// Libraries
#include <DHT.h> // DHT library
#include <DHT_U.h> // DHT 11 & 22 detecting library
#include <Servo.h> // Servo library
