London, ON
Offline
Newbie
Karma: 0
Posts: 49
|
 |
« on: January 24, 2013, 01:26:25 pm » |
Hello
My project includes incoming data being processed and logged into an SD card, using the Arduino DUE. Lets say I have a file.csv with entries looking like A,B,C,D (A,B are ints and C,D are floats).
FILE.CSV
A,B,C,D A,B,C,D A,B,C,D A,B,C,D A,B,C,D A,B,C,D ...
Now after logging, I want to read the values of 'D' starting from the buttom going up towards the top of the file.
I recieved advice regarding seek() and position() as it may help me to do exactly what to do, but <SD.h> is compiling issues with <SdFat.h>. Because I want fast reads (50Hz), I do not want to use a while() to scroll down each time. Seek() using pointers which is perfect for my application.
Are there seek() and position() functions in SdFat? Any other suggestions?
Daniel
|