User manual

{
String xBuffer;
for (int i = 0; i <= sizeof(site); i++)
{
char myChar = pgm_read_byte_near(site + i);
xBuffer += myChar;
}
for (int x = 2; x <= 7; x++)
{
if (PORTD & (1 << x))
{
xBuffer.replace("*checked" + String(x) + "*", "checked");
}
else
{
xBuffer.replace("*checked" + String(x) + "*", "");
}
}
return xBuffer;
}
I had some problems when creating this program. The cause wasn't clear at first.
There were strange errors when loading the website, and the entirely wrong
checkboxes were often checked. The Arduino-MemoryFree-Master-Library
(http://playground.arduino.cc/Code/AvailableMemory) helped me find the solution:
The SRAM memory had reached its limits, and this caused very strange, random
errors. I had to clearly reduce the original version of the program and the HMTL
code for the program to work in this version. I mention this because the same may
happen to you when you create your own projects. The reason for the great stress