   Serial.println(attendF);
   Serial.print("Fois - ");
   Serial.println(flashfois / 2);
+  if (attendF == 0){
+    flashfois = 0;
+  }
   if (testteu != 0) {
     derncoul = testteu;
     long number = strtol( &testteu[1], NULL, 16);


// stylesheet for web pages
const String css = "<style>\n"
                   ".color {\n"
                   "width:80%;\n"
                   "height:64px;\n"
                   "padding:0px;\n"
                   "margin:0px;\n"
                   "border: none;\n"
                   "text-decoration: none;\n"
                   "display: inline-block;\n"
                   "cursor: pointer; -webkit-transition-duration: 0.4s;\n"
                   "transition-duration: 0.4s\n}\n"
                   ".button1 {\n"
                   "background-color: #4CAF50;\n"
                   "border: none;\n"
                   "color: white;\n"
                   "padding: 15px 32px;\n"
                   "text-align: center;\n"
                   "text-decoration: none;\n"
                   "display: inline-block;\n"
                   "font-size: 24px;\n"
                   "margin: 4px 2px;\n"
                   "cursor: pointer; -webkit-transition-duration: 0.4s;\n"
                   "transition-duration: 0.4s; width: 80%;\n}\n"
                   "button {\n"
                   "background-color: #AC0050;\n"
                   "border: none;\n"
                   "color: white;\n"
                   "padding: 15px 32px;\n"
                   "text-align: center;\n"
                   "text-decoration: none;\n"
                   "display: inline-block;\n"
                   "font-size: 24px;\n"
                   "margin: 4px 2px;\n"
                   "cursor: pointer; -webkit-transition-duration: 0.4s;\n"
                   "transition-duration: 0.4s; width: 80%;\n}\n"
                   "button:hover,.color:hover, .button1: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"
                   "div#logs {"
                   "width: 100%;"
                   "height: 450px;"
                   "font-size: 12px;"
                   "overflow: auto;"
                   "text-align:left;"
                   "}"
                   "</style>\n";
// end of stylesheet for web pages


  server.on("/party", handleClignote);
  server.on("/version", []() {
    String addy = server.client().remoteIP().toString();
    server.send(200, "text/html", "V2.9, Steve Olmstead sansillusion@gmail.com\n\n<br><br>"
                "Added fader function\nRemoved connection watchdog (better have good signal)\n<br>"
                "Removed mDns (did not work anyway)\n\n<br><br>"
                "Added smoother fading\n\n<br><br>"
