After some seconds from flashing, it gives this message:
ets Jan 8 2013,rst cause:4, boot mode:(1,6)
wdt reset
Explore... Chat... Share...
Moderator: igrr
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include <ESP8266mDNS.h>
const char* ssid = "AAA-0001";
const char* password = "12345678";
String site = "";
ESP8266WebServer server(80); // server: http://192.168.4.1
void handleRoot() {
site = "<html>\n";
site += "<head><title>ESP Test</title></head>\n";
site += "<body style=\"color: blue\">\n";
site += "<center><h1>ESP test for AAA-0001</h1></center>\n";
site += "</body>\n";
site += "</html>";
server.send(200, "text/html", site);
site = "";
}
void setup() {
WiFi.mode(WIFI_AP); // WIFI_AP / WIFI_AP_STA / WIFI_STA
WiFi.softAP(ssid, password);
IPAddress myIP = WiFi.softAPIP();
server.on("/", handleRoot);
server.begin();
}
void loop() {
server.handleClient();
}
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]