 
     if (millis() - lastHeartBeat > heartBeatInterval) {
       Serial.println("loop running");
+      digitalWrite(LED_PIN, LOW);
+      delay(50);
+      digitalWrite(LED_PIN, HIGH);
       lastHeartBeat = millis();
     }
 }

  ArduinoOTA.begin();
}


  }

  // still no connection so try WifiManager
  ledBlinker.attach(0.8, ledBlink); // slow blink led to show in Wifi AP mode
  WiFiManager wifiManager;
  wifiManager.setTimeout(240);
  if(!wifiManager.autoConnect(THIS_NAME.c_str())) {
