                    "button:hover {\n"
                    "box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);\n}\n"
                    "</style>\n";
-
+// end of stylesheet for web pages
+
+// functions used internally
+
+// used to flash leds
+void flashfunk() {
+  if (flashrendu <= flashfois) {
+    flashrendu++;
+    if (rouge == r) {
+      ledcWrite(1, 0);
+      rouge = 0;
+    } else {
+      ledcWrite(1, r);
+      rouge = r;
+    }
+    if (vert == g) {
+      ledcWrite(2, 0);
+      vert = 0;
+    } else {
+      ledcWrite(2, g);
+      vert = g;
+    }
+    if (bleu == b) {
+      ledcWrite(3, 0);
+      bleu = 0;
+    } else {
+      ledcWrite(3, b);
+      bleu = b;
+    }
+  } else {
+    r = rouge;
+    b = bleu;
+    g = vert;
+    flashoufade = 0;
+    flashrendu = 0;
+    Serial.println("Flash fini");
+  }
+}
+
+// used to fade red
 void fadeR() {
   if (rouge < r) {
     rouge++;

  server.send(200, "text/html", contenu);
}

void handleRoot() {
  String addy = server.client().remoteIP().toString();
  Serial.println("");

  }
}

// 404 not found page
void handleNotFound() {
  String addy = server.client().remoteIP().toString();
  Serial.println("");
