I am using SdFat, not the standard Sd.h library. Is that the difference you are mentioning? Perhaps I was not clear enough, because I may have only mentioned this in my title. I am sorry for any confusion that may have caused Also my bad as I only tend to skim titles, I now see it refers to SdFat. Is SdFat an extension of SD or a separate library? They both seem to reside in the same library folder. If it's an extension then can you mix and match SD & SdFat functions?
Something that drew me back to this page: It occurred to me that I am declaring char name locally in my function. It may be that I need to be declaring it globally, since the function does not "return" name, it seems to modify it within the function. I'm not certain. I had a look at the original SdFat examples/documentation that don't seem to be included in the standard Arduino library and it might be worth looking at this sketch. Other than that I'm not really helping. I will have to dust off my Ethernet shield and play with the SD card functions at some point.
Have you tried running the example on the reference page I linked too, it's using Serial.print(entry.name()); to print the file/directory name. You code snippet does not show if your using the standard SD library as the function names do not seem to match. isDirectory() vs isDir()
I have not used the SD library but a quick look at the reference page seem to point to you using FileOpenNextFile and isDirectory to determine if next file is a directory or file. You can then extract the directory name using .name (all according to the reference)
Each MAX7219 can control 64 LED's with 8x8 display being the most common layout but you could arrange the LED's in any pattern you want as long as they are wired on the 8x8 matrix style needed by the MAX7219 chip. Where it would become more complicated is determining what LED is what when they are set out in a non 8x8 pattern. For a simple word clock this would be relatively easy as the LED's go on/off in set patterns but if you want to include scrolling text then it will become really complex.
Ar the moment i dont have a pull down resistor, just a push button switch between the reset pin and ground. Should i put a resistor in? I will try all the things suggested after class. Thanks for all the help!
Pullup not pulldown. You need to connect it between reset and VCC not reset and GND.