hi all,
thanks for looking, i have been trying to find a nice way to open a txt file on an sd card, read the hour and compare it to the current time from a ds1307,
i have moderate experience with arduino and my current code is massive and i need this for a recall,
basically the sketch writes the hour to an hour.txt file every 30 minutes the device is on, when its reset it will check the sd card, compare it to the current hour, and if less than 2 hours, display a recall screen offering an option to return to previous state or begin a new state
i kow this involves reading bytes and the such but i am lost with these. if anyone can shed light on a way to read a 2 digit number from sd, save it as an int, compare to hour from ds1307 and then make a choice.
all my code works and id rather not share it as im just adding functions. im using the standard sd library and no folders on the sd, on mega 2560 with touchscreen tft,wav playback,rtc,.
thanks for your help,