There are two files (that can be seen on my computer) on my sd card, 6.bmp and example.txt (the latter written from my arduino). I have them connected to my arduino via LCSTUDIO breakout board (which surprisingly caused me no trouble at all).

When I run the example "cardinfo" sketch, the files it lists includes those two files along with tons of others, which I assume are just invisible from a personal computer.

How would I list only the files that can be seen from my computer (i.e. aren't inside any directory, but are just plain in the SD card)?

Using arduino UNO

1 Answer 1


Simple Answer: Don't think you can

Long Answer: Dont think you can, because, unlike an OS like windows, mac, linux, etc. The arduino just tales all the files. You could save those two files and format it as FAT16 though, then add the 2 files back on the sd and there you go.

  • Ok, I'm gonna go ahead and accept this, Jan 13, 2015 at 4:12
  • Probably the best answer I can get for something thats apparently impossible, Jan 13, 2015 at 4:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.