       - Adafruit unified sensor
       - PubSubClient
       - ArduinoJSON
-
+	  
+	Update by Knutella 5-16-2017 Fixed MQTT disconnects when wifi drops by moving around Reconnect and adding a software reset of MCU
+	
 */
 
 

  Serial.println("Ready");
  Serial.print("IPess: ");
  Serial.println(WiFi.localIP());

}



  return val;
}

/****reset***/
void software_Reset() // Restarts program from beginning but does not reset the peripherals and registers
{
Serial.print("resetting");
ESP.reset(); 
}
