I am currently having an issue with a SD card shield with an Arduino Uno and taking input from a 4x3 keypad to set the RTC. While I have gotten these two items to work separately, and have while the code with both will function until I attempt to set the time. After hitting the "*" key to set the time from the keypad and going through the process, the file on SD card can no longer be found.
Is there a certain command to close out setting the RTC? I have move this code around quite a pit and it still comes to the same issue.
It is difficult to help to debug code that we cannot see. Please read the forum guidelines to see how to properly post code and some information on making a good post.
Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in a code block.
The SD cards do not have a RESET pin so when the cpu resets after a download, the SD card doesn’t know and can get confused. Easy fix, power cycle and then the card will be in sync.
Also, sd card file names MUST be DOS 8.3 compliant and the cards must be 32Gb or less.