Post topics, source code that relate to the Arduino Platform

User avatar
By perigalacticon
#72406 Well now they're not working again. In my set up code I have:

Code: Select all  WiFi.mode(WIFI_STA);
  Serial.println("passed WiFi.mode");
  WiFi.begin(ssid, password);
  Serial.println("passed WiFi.begin");
  while (WiFi.waitForConnectResult() != WL_CONNECTED) {
    Serial.println("Connection Failed! Rebooting...");
    delay(5000);
    ESP.restart();
  Serial.println("Connected?");
  }


The last thing I get on the serial monitor is "passed WiFi.begin", I never see "Connected?" or anything past this in the code. The same happens for 2 of them now.