arduino-esp32/libraries/SD
2017-11-06 16:20:42 +02:00
..
examples/SD_Test Add totalBytes / usedBytes to SD/SDMMC (#673) 2017-09-28 10:01:02 +08:00
src Fix wrong size reported for cards above 16GB 2017-11-06 16:20:42 +02:00
library.properties Add FS, SD and SD_MMC (#256) 2017-03-10 15:25:38 +01:00
README.md SD library explanation (#262) 2017-03-14 14:53:59 +01:00

SD library

This library provides the integration of ESP32 and SD (Secure Digital) cards without additional modules.

Sample wiring diagram:

SD card pins

For others SD formats:

Other SD card formats

Image source: Wikipedia

- Warning: Some ESP32 modules have different pinouts!

FAQ:

Do I need any additional modules, like Arduino SD module?

No, just wire your SD card directly to ESP32.

What is the difference between SD and SD_MMC libraries?

SD runs on SPI, and SD_MMC uses the SDMMC hardware bus on the ESP32.

Can I change the CS pin?

Yes, just use: SD.begin(CSpin)