   // remove the file if it exists
   SPIFFS.remove("/reports.txt");
   ss.begin(GPSBaud);
-  dht.begin();          
+  dht.begin();     
+  delay(200);
   WiFi.persistent(false);
 	WiFi.mode(WIFI_OFF);   // this is a temporary line, to be removed after SDK update to 1.5.4
 	WiFi.mode(WIFI_STA);
-  WiFi.begin("yourssid", "yourpass");    
+  WiFi.begin("yourssid", "yourpass"); 
   while (WiFi.status() != WL_CONNECTED) {
 	  Serial.println(WiFi.status());
       delay(500);

}
*/
void sendInfo() {
	while(true)
	while (ss.available() > 0) {
		if (gps.encode(ss.read())) { 
			 float temperature = dht.readTemperature();
			 float humidity = dht.readHumidity();
			// Serial.println(temperature);
			 if (!isnan(temperature) || !isnan(humidity) && gps.date.isValid() 
				 && gps.time.isValid() && gps.location.isValid() && gps.location.isUpdated()) { 
			//if (gps.date.isValid() && gps.time.isValid() && gps.location.isValid() && gps.location.isUpdated()) { 
			 	StaticJsonBuffer<750> JSONbuffer;   
				JsonObject& root = JSONbuffer.createObject(); 

				}
				delay(10000); 
			}
		}
		yield();
	}
	yield();
  }
}
