I have a routine that opens Help files that are stored on an SD card.
I currently access them with a lengthy switch case statement (There are 50+ .txt files).
How can I open an SD file using the variable of the help file I am currently accessing?
HelpPage is the variable 1-50 depending on the page I am opening.
The stored filenames are "Help1.txt", "Help2.txt", "Help3.txt", "Help4.txt" etc
myFile = SD.open("HELP"+HelpPage+".txt");
Obviously this arrangement doesn't work, but wondered if it's possible?