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

const unsigned long default_delayToStart = 0;      // Delay in seconds till start of timelapse
const unsigned long default_numberOfShots = 10;    // Number of shots in timelapse mode
const unsigned long default_delayBetweenShots = 5; // Delay between shots in timelapse mode
const unsigned long default_autorefresh = 15;      // In timelapse mode autorefresh webGUI every 15 seconds, 0 = autorefresh off
const int timelapseAutoStart = 0;                  // 1 = Autostart timelapse mode, 0 = No autostart

// End of settings

unsigned long secCounter = 0; // count the seconds since start of timelapse
unsigned long timeSlotCounter = 0; // count the timeslot since start of timelapse

bool displayIsOn = true;

String myIPStr = "";

enum triggerModes { ON = 0, OFF = 1 };
