Hey all !
With the help of a GPS shield I want to log daily kilometers on an SD card (therefor in a text file).
I would like to write the total distance everytime I get a GPS position (then the algorythm would make the seperation by day)
For example : I receive a GPS position, I calculate the distance to the previous position, I check fromthe GPS if today is the same day as the one written on the SD card if yes : add this one to the total distance, write/update the result on the SD card. if no : create a new line with today's date, add this one to the total distance, write/update the result on the SD card. loop again.
Would you have any idea how I can do this ? I didn't find a thread where I can find my answer ... could you help me with some keyword to search for ?
Thank you for your help !