I have progressed to the point where I have buttons on my tft, I can read the buttons (except for one, which remains a bit of a mystery) but I have a menu and one of those options is to pop up a screen for a 5 digit filename creation, which becomes my directory for the Sd card.
My question centers around, once I create the Directory name, is the best approach to store it in eprom, so each step of my menu process can grab the "Current" directory name and then add my data to a dedicated sub directory under that stored filename to the Sd card?
once I create the Directory name, is the best approach to store it in eprom
Unless you want the same directory name to be available next time that the Arduino is powered up then just put it into an array of chars and use it when you need it.
Yes, because the end goal is a handheld test set, and I can't control how it gets used. What I think I should be able to do is and need to figure out how , is to prompt the user, to use the last "XXXXX" or overwrite and create new directory on SD.
Any suggestions on what that should look like? Thank you for your interest.
Yes valid thought, and it was a consideration, but my brief experience with tft and displaying the text from the sd card seems to be a bit unwieldy. Have not figured out how to display data without it over writing the data already on the screen. At least with eeprom, I can read addr and get the last known project number (dir name) thanks
Have not figured out how to display data without it over writing the data already on the screen.
If you want to display the data in the same place as previous data then remove the previous data from the screen first either by clearing the whole screen or just a portion of it. If you want to print in another area than previously used then just do it. What are you having a problem with ?