 unsigned long secCounter = 0; // count the seconds since start of timelapse
 unsigned long timeSlotCounter = 0; // count the timeslots since start of timelapse
 
+bool displayIsOn = true;
+
 String myIPStr = "";
 
 enum triggerModes { ON = 0, OFF = 1 };

  20170722 Input pin as timelapse start
  20170724 Setting for autostart timelapse mode
  20170724 Calculate remaining time
  --------------------------------------------------*/

#include <ESP8266WiFi.h>

//--------------------------------------------------
// Settings:

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

