     rain5m[minutes_5m] +=0.011*25.4; // increase this 5 mnts amout of rain 
     rainlast = raintime; // set up for next event
   }
+  //Removed for dynamic memory reduction
   //Nirosha  
   //Rain flag (1)
-  if(rain5m[minutes_5m] > 0)
-  {
-    Rainindi=1;
-  }
+  //if(rain5m[minutes_5m] > 0)
+  //{
+  //  Rainindi=1;
+  //}
   //Niroshan
 }
 

  Serial.print(rainin_5m, 2);
  //Serial.print(",rainindicate=");
  Serial.print(",");
  Serial.print(Rainindi, 1);
  
  //Not enough dynamic memory in UNO
  //lcd.clear();

float get_wind_speed()
{
  float deltaTime = millis() - lastWindCheck; //750ms
  deltaTime /= 1000.0; //Convert to seconds
  float windSpeed = (float)windClicks / deltaTime; //3 / 0.750s = 4
  windClicks = 0; //Reset and start watching for new wind
  lastWindCheck = millis();
  //windSpeed *= 1.492; //4 * 1.492 = 5.968MPH
  return(windSpeed);
}

