Re: ESP8266WebServer to send larger amounts of data
Posted: Mon Aug 31, 2015 3:19 pm
probe this:
http://www.esp8266.com/viewtopic.php?f=29&t=4060
http://www.esp8266.com/viewtopic.php?f=29&t=4060
woodwax wrote:Hello
sorry for my newbie question, I would like to use program memory space but the following code doesnt work:Code: Select all#include <PgmSpace.h>
const char index_html[] PROGMEM = R"=====(
<!DOCTYPE HTML>
<html>
<head><title>ESP8266 Arduino Demo Page</title></head>
<body>ESP8266 power!<p><img src="logo.png"></body>
</html>
)=====";
void setup() {
Serial.begin(115200);
}
void loop() {
Serial.println(index_html);
delay(1000);
}
This is on ESP8266 e12 module with arduino IDE. When I run this code I get wdt error, can anyone correct this code? Thanks