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

  }
  M5.update();
}
#else
// Methods for ESP8266
void displaySetup() { }
void onDisplay(lcdScreens screen) { }
void checkInactivity() { }
void processKeyboard() { }
#endif

  20180528 Setting for trigger duration
  20180529 Preparatory work for timetable
  20180601 Preparatory work for autofocus pin
  20180603 More compact font
  20180603 Show trigger state ON by flashing screen
  --------------------------------------------------*/
#ifdef ESP32
#include <M5Stack.h>
