   WiFi.mode(WIFI_STA); // explicitly set mode, esp defaults to STA+AP
   // put your setup code here, to run once:
   Serial.begin(115200);
+  Serial1.begin(115200);
+
   // Serial.setDebugOutput(true);  
-  // delay(3000);
+  delay(1000);
+  Serial1.println("TXD1 Enabled");
+
   Serial.println("\n Starting");
   // WiFi.setSleepMode(WIFI_NONE_SLEEP); // disable sleep, can improve ap stability
   

 */
#include <WiFiManager.h> // https://github.com/tzapu/WiFiManager
#include <time.h>

#define TRIGGER_PIN 0
const char* modes[] = { "NULL", "STA", "AP", "STA+AP" };

      print_oled("Connected\nIP: " + WiFi.localIP().toString() + "\nSSID: " + WiFi.SSID(),1);    
  }
  pinMode(TRIGGER_PIN, INPUT);

  #ifdef USEOTA
    ArduinoOTA.begin();
    ArduinoOTA.onStart([]() {
      otastarted = true;
      Serial.println("\nOTA onStart");
    });
  #endif
}

void loop() {

  #ifdef USEOTA
  ArduinoOTA.handle();
  if(otastarted)return;
  #endif
  // is configuration portal requested?
  if ( digitalRead(TRIGGER_PIN) == LOW ) {
    delay(100);
