   }
 
   system_deep_sleep_set_option(2);
-  //wifi_set_phy_mode(PHY_MODE_11N);
+  wifi_set_phy_mode(PHY_MODE_11N);
 
   digitalWrite(redLED, LOW);
   wifi_connect();

      }
    }

    if (DEBUG_PRINT) {
      wifiMills = millis() - startMills;
      Serial.println();
      Serial.print("===> WiFi connected : ");
      Serial.println(wifiMills);

    buttonpayload += ",\"subMills\":";
    buttonpayload += subMills ;
    buttonpayload += "}";
    
    if (DEBUG_PRINT) {
      Serial.print("status pub ---> ");
      Serial.println(millis() - startMills);
