arduino-esp32/libraries/SD
2019-04-09 21:07:25 +02:00
..
examples Unify time modification on SD and SPIFFS (#738) 2018-03-04 21:20:34 +01:00
src Added a parameter for max files in SD (#2563) 2019-04-09 21:07:25 +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)