   20170722 Input pin as timelapse start
   20170724 Setting for autostart timelapse mode
   20170724 Calculate remaining time
+  20180503 Preparatory work for M5Stack (display and keyboard)
   --------------------------------------------------*/
-
+#ifdef ESP32
+#include <M5Stack.h>
+#include <WiFi.h>
+#include <Free_Fonts.h>
+#else
 #include <ESP8266WiFi.h>
+#endif
 
 //--------------------------------------------------
 // Settings:

                  ;
  if (refreshLine != "")
    retVal += "<FONT SIZE=-2>Page will refresh every " + String(currentAutorefresh) +  " seconds<BR>";
  return retVal;
}


  process();

  checkAndProcessStartPin();

  processKeyboard();

  client = server.available(); // Check if a client has connected
  String sRequest = getRequest(client);
