 DigitalPin buzzor(3);
 Logger logger(9600);
 
+//600000
+#define msReadSensorDelay 10000
+#define msBuzzorBeforeWateringDelay 100
+#define msWateringActiveDelay 2000
+#define msRetryAfterWateringDelay 15000
+#define moistLevel 550
+
+
 void setup() {
 
 }

void loop() {
  takeAndprocessReading();

  delay(10000); //10 seconds
  //delay(600000); //10 min
}



  logger.info("taking reading: ");
  int moistureReading = moistureSensor.takeReading();
  logger.info(moistureReading);
  if (moistureReading < moistLevel)
  {
    logger.info("soil moist");
    return;
