We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I get an eternal loop if I just take the credentials line and put it into a credentials.h file and import it. Is this a user error?
code: output is: "..................."
#include <WiFi.h> #include <WiFiClient.h> #include <WebServer.h> #include <ElegantOTA.h> #include <credentials.h> WebServer server(80); void setup(void) { Serial.begin(115200); WiFi.mode(WIFI_STA); WiFi.begin(ssid, password); Serial.println(""); // Wait for connection while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); } Serial.println(""); Serial.print("Connected to "); Serial.println(ssid); Serial.print("IP address: "); Serial.println(WiFi.localIP()); server.on("/", []() { server.send(200, "text/plain", "Hi! I am ESP32."); }); ElegantOTA.begin(&server); // Start ElegantOTA server.begin(); Serial.println("HTTP server started"); } void loop(void) { server.handleClient(); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I get an eternal loop if I just take the credentials line and put it into a credentials.h file and import it. Is this a user error?
code: output is: "..................."
The text was updated successfully, but these errors were encountered: