 
 // Global variables
 const String prgTitle = "ANI Camera Remote";
-const String prgVersion = "1.2";
-const int versionMonth = 7;
-const int versionYear = 2017;
+const String prgVersion = "1.3";
+const int versionMonth = 5;
+const int versionYear = 2018;
 
 const int timeSlot = 250; // timeslot in ms
-const int timeSlotsPerSecond = 4;
+const int timeSlotsPerSecond = 1000 / timeSlot;
 
 unsigned long delayToStart = default_delayToStart;
 unsigned long numberOfShots = default_numberOfShots;


void process()
{
  if ((currentExecMode == NONE) || (currentExecMode == TIMELAPSESTOP) || (currentExecMode == WAITFORGPIO))
    return;
  unsigned long currentTimeSlotMillis = millis();
  if ((currentTimeSlotMillis - previousTimeSlotMillis) > timeSlot) // 250 ms time slot
  {

      timeSlotCounter = 0;

      if (currentDelayToStart > 0) // Start delay
      {
        currentDelayToStart--;
        onDisplay();
      }
      else if (currentDelayBetweenShots > 0)
        if ((secCounter % currentDelayBetweenShots ) == 0) // Delay between shots
        {
          if (currentNShots >= 1) // more than one shot timelapse?
          {
            if (currentTriggerMode == OFF)
