Translated partially

This commit is contained in:
2018-05-06 21:52:40 +02:00
parent d6fc3ab6fb
commit e3d68e1b25
2 changed files with 30 additions and 32 deletions

View File

@ -6,14 +6,11 @@ const char* ssid = "............";
const char* password = "..............";
ESP8266WebServer wwwserver(80);
String content;
const char PAGE[] PROGMEM = "<!DOCTYPE HTML>\n<html>Hello world from ESP8266<p></html>"
static void handleRoot(void) {
content = F("<!DOCTYPE HTML>\n<html>Hello world from ESP8266");
content += F("<p>");
content += F("</html>");
wwwserver.send(200, F("text/html"), content);
wwwserver.send_P(200, F("text/html"), PAGE);
}
void setup() {