Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By JoachimPetersen
#64932 Solution for me was to make a const static char website_servlet_html[] PROGMEM = "XXX long string";
to avoid java regex error in arduino IDE I used like;
const static char website_servlet_html[] PROGMEM = "512 long string"
"512 long string"
"512 long string"
"And so on";
The problem is now that when I try to load the large website(around 500kb) to the esp with server.send or server.sendContent; it crashes and restarts when I try to connect to it with my webbrowser, so it must get a overflow somewhere? how would I go about and handle this long string in RAM and serve it as an HTML website on the ESP8266?