Web Server Content with string array
Posted: Thu Feb 01, 2018 7:09 pm
Hello I try to setup a web server
Something like this works
client.println(HTML_Header[0]);
client.println(HTML_Header[1]);
client.println(HTML_Header[2]);
client.println(HTML_Header[3]);
client.println(HTML_Header[4]);
In a loop like this it's causing a reboot of the ESP32
for(i=0; i<5; i++)
{
client.println(HTML_Header);
}
To do this Serial.println(HTML_Header);
is working
I had the same Problem with the ESP8266
How can I use a String Array in the
Something like this works
client.println(HTML_Header[0]);
client.println(HTML_Header[1]);
client.println(HTML_Header[2]);
client.println(HTML_Header[3]);
client.println(HTML_Header[4]);
In a loop like this it's causing a reboot of the ESP32
for(i=0; i<5; i++)
{
client.println(HTML_Header);
}
To do this Serial.println(HTML_Header);
is working
I had the same Problem with the ESP8266
How can I use a String Array in the