   delay(3000);
   Serial.println("\n Starting");
 
-  Serial.println("Starting UDP");
-  udp.begin(localPort);
-  Serial.print("Local port: ");
-  Serial.println(udp.localPort());
-
   // WiFi.mode(WIFI_STA);
-  WiFi.printDiag(Serial);
+  // WiFi.printDiag(Serial);
   // Serial.println(modes[WiFi.getMode()]);
   //WiFiManager
   //Local intialization. Once its business is done, there is no need to keep it around


WiFiManager wm;

#include <ESP8266WiFi.h>
#include <WiFiUdp.h>

char ssid[] = "*************";  //  your network SSID (name)
char pass[] = "********";       // your network password

unsigned int localPort = 2390;      // local port to listen for UDP packets

/* Don't hardwire the IP address or we won't get the benefits of the pool.
 *  Lookup the IP address for the host name instead */
//IPAddress timeServer(129, 6, 15, 28); // time.nist.gov NTP server
IPAddress timeServerIP; // time.nist.gov NTP server address
const char* ntpServerName = "time.nist.gov";
// const char* ntpServerName = "ns1.mtsu.edu";
const int NTP_PACKET_SIZE = 48; // NTP time stamp is in the first 48 bytes of the message
byte packetBuffer[ NTP_PACKET_SIZE]; //buffer to hold incoming and outgoing packets

// A UDP instance to let us send and receive packets over UDP
WiFiUDP udp;


void setup() {

  }

  // put your main code here, to run repeatedly:
  delay(10000);
}
