mackrackit,
In my project, data is read from the MicroSD card and sent to a TFT LCD display. As you can imagine, speed is very important. Let's say that I have the following bytes in my TXT file and I want to read them
When you read these values with SDFS you get something like
Code:
FAT_dest[0] = 50 'ASCII number for "2"
FAT_dest[1] = 48 'ASCII number for "0"
FAT_dest[2] = 51 'ASCII number for "3"
FAT_dest[3] = 13 'ASCII number for "CR"
FAT_dest[4] = 10 'ASCII number for "LF"
FAT_dest[5] = 51 'ASCII number for "3"
FAT_dest[6] = 55 'ASCII number for "7"
FAT_dest[7] = 13 'ASCII number for "CR"
FAT_dest[8] = 10 'ASCII number for "LF"
FAT_dest[9] = 57 'ASCII number for "9"
FAT_dest[10] = 50 'ASCII number for "2"
Then, you have to do some data manipulation to obtain the bytes that you need, 203, 37, and 92. This takes too much time
. Is there any way or is there any format for my TXT file that I can use were I would obtain a SDFS reading like the following?
Code:
FAT_dest[0] = 203
FAT_dest[1] = 37
FAT_dest[2] = 92
This would speed up my program a lot and I would obtain much better graphics in my TFT display. Thank you for your help.
Robert
Bookmarks