3 years, 9 months ago.

How to read data from SDcard ?

I want to read data from the .txt or .csv file in SDcard. How can I do ?

Question relating to:

Example program using the emWin GUI library. Display Module, emwin, LPC4088DM
Comment on this question

1 Answer

3 years, 9 months ago.

You should use the MCIFileSystem as described in the LPC4088DM Using Filesystems wiki.

After initializing the DMSupport library (described here) the uSD card will be accessible with standard file operations like fopen, fclose, fread, fwrite etc.