I achieve to read a String from the ESP8266 EEPROM - so far so good.
However, trying to append a second string to the just read first one does not work!
I start with having the number 2
at address 0 of the EEPROM. I read from address 0 to 6.
Here is my ESP8266.ino code :
String readM = "";
String appendixStr = "|||";
Serial.print("appendixStr = ");
Serial.println(appendixStr);
String dailyzStr = "";
for (int a = 0; a < 7; ++a) { // addr 0...6
dailyzStr += char(EEPROM.read(a));
}
readM += dailyzStr + appendixStr;
Serial.print("hmmm = ");
Serial.println(readM);
And here is what the log prints:
Clearly, I would expect hmmm = 2|||
but I only get hmmm = 2
Why is it not possible to append ??