arduino-esp32/libraries/SD
2021-07-19 19:08:51 +03:00
..
examples [2.0.0] FS::name() returns the item name as in Arduino SD (#4892) 2021-04-15 17:25:01 +03:00
src Fixes SD begin() end() memory leak #2897 (#5419) 2021-07-19 19:08:51 +03:00
library.properties Bump library versions to 2.0.0 (#5182) 2021-05-18 14:00:49 +03: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)