 
 void anemometerClick()
 {
-  long thisTime=millis()-anem_last;
-    anem_count++;
-  anem_last=millis();
-    
-    if(thisTime<anem_min)
-    {
-      anem_min=thisTime;
-    }
- 
+  long thisTime = millis() - anem_last;
+  anem_count++;
+  anem_last = millis();
+
+  if (thisTime < anem_min)
+  {
+    anem_min = thisTime;
+  }
+
 }
 
 void rainGageClick()
 {
-    long thisTime=millis()-rain_last;
-    if(thisTime>10)
-    {
-    rain_last=millis();      
-      rain_count++;
-    }
+  long thisTime = millis() - rain_last;
+  if (thisTime > 10)
+  {
+    rain_last = millis();
+    rain_count++;
+  }
 }
 
 void setup() {
 #ifdef WINC_EN
   pinMode(WINC_EN, OUTPUT);
   digitalWrite(WINC_EN, HIGH);
-#endif    
+#endif
   Serial.begin(9600);
   Serial.println("Starting...");
   pinMode(VBATPIN, INPUT);
   pinMode(SOLAR_PIN, INPUT);
 
   initializeSensors();
-  
+
   // check for the presence of the shield:
   if (WiFi.status() == WL_NO_SHIELD) {
     Serial.println("WiFi shield not present");

  String data = String(temp1);
  data.trim();
  delay(5);
  return data;  
}



#include <Adafruit_BMP085_U.h>
#include <Adafruit_VEML6070.h>
#include <Adafruit_TSL2561_U.h>
#include <DHT.h>
#include <DHT_U.h>
#include <SPI.h>
#include <Adafruit_WINC1500.h>
#include <avr/dtostrf.h>
