   server.on("/", handleRoot);
   server.begin();
   Serial.println("HTTP server started");
+}
+
+void setupMDNS() {
+    if (MDNS.begin(SCOREBOARD_DNS_NAME)) {
+        Serial.println("MDNS responder started");
+    }
+    MDNS.addService("http", "tcp", 80);
+    MDNS.addService("ws", "tcp", 81);
 }
 
 void setup() {

  Serial.println("Hello, led display here");
  setupWebServer();
  setupWebSocket();
  for (int i = 0; i < SW_COUNT; ++i) {
    button_handled[i] = true;
  }

#define UP 1

#define LONG_PRESS_TIME_MILLIS 2000

#define SCOREBOARD_DNS_NAME "scoreboard"

unsigned char button_state[SW_COUNT];
unsigned int button_time[SW_COUNT];
