The array itself is held at
char filestring[9];
and initialized via
snprintf_P(filestring,
sizeof(filestring),
PSTR("%04u%02u%02u"),
dt.Year(),
dt.Month(),
dt.Day());
How can i concatenate all above as in the example? (Add the slash and the .txt extension to the filestring variable)
File file = SD.open("/" + filestring + ".txt", FILE_APPEND);
I get the following misleading error for the example above.
expression must have integral or unscoped enum type