     encoder_desired_val = value.toInt() + 1;
     digitalWrite(PIN_TRIAC_N, 0);
   });
-/*
-  server.on("/flapDown", HTTP_POST, []() {
-    encoder_desired_val--;
-    if(encoder_desired_val < 1)
-      encoder_desired_val = FLAPCOUNT;
-    digitalWrite(PIN_TRIAC_N, 0);
-  });
-*/
+  /*
+    server.on("/flapDown", HTTP_POST, []() {
+      encoder_desired_val--;
+      if(encoder_desired_val < 1)
+        encoder_desired_val = FLAPCOUNT;
+      digitalWrite(PIN_TRIAC_N, 0);
+    });
+  */
   server.serveStatic("/index.htm", SPIFFS, "/index.htm");
   server.serveStatic("/js", SPIFFS, "/js");
   server.serveStatic("/", SPIFFS, "/index.htm");

  WiFi.mode(WIFI_STA);
  Serial.printf("Connecting to %s\n", ssid);
  if (String(WiFi.SSID()) != String(ssid)) {
    WiFi.begin(ssid, password);
  }



#define STA_HOSTNAME "flipflap"

const char* ssid = "";
const char* password = "";

ESP8266WebServer server(80);

