How to access T4.1 SD card?

zapta

Well-known member
Is there an example or a post explaining how to access the SD card on the Teensy 4.1? That is, listing, reading and writing files.

I looked at the Teensy's library documentation and examples but couldn't find any.

If it's matter, I am using the Arduino framework on platformio and on the Arduino IDE.
 
Have not seen a single example, probably usable samples on the forum.

But these two samples together should go together to show all those pieces:
...\hardware\teensy\avr\libraries\SD\examples\listfiles\listfiles.ino
...\libraries\SD\examples\ReadWrite\ReadWrite.ino

Note: SD library gets a big change in TeensyDuino 1.54 Beta 7 and any after. It should run faster as it is now mapping to the SdFat library to the prior functions.

That library is now included as well - but the two don't mix so stick with SD and those examples or convert to SdFat for alternate feature/function set.
 
Back
Top