   if (autofocusPin > -1)
     digitalWrite(autofocusPin, tMode);
   digitalWrite(triggerPin, tMode);
-  currentTriggerMode =  tMode;
+  currentTriggerMode = tMode;
+  showTriggerState(tMode);
 }
 
 /*--------------------------------------------------

  20180528 Setting for trigger duration
  20180529 Preparatory work for timetable
  20180601 Preparatory work for autofocus pin
  --------------------------------------------------*/
#ifdef ESP32
#include <M5Stack.h>

  }
  M5.update();
}

void showTriggerState(triggerModes tMode)
{
  if (tMode == ON)
    M5.Lcd.fillScreen(TFT_WHITE);
}
#else
// Methods for ESP8266
void displaySetup() { }
void onDisplay(lcdScreens screen) { }
void checkInactivity() { }
void processKeyboard() { }
void showTriggerState(triggerModes tMode) { } // Maybe some LED in the future
#endif
