arduino-esp32/libraries/SD
Andreas Pokorny b3fdfda914 Bugfix: Put every SPI access between begin / end Transaction (#509)
The change intrdocues a local RAII helper to simplify maintaining begin/end scopes

Signed-off-by: Andreas Pokorny <andreas.pokorny@siemens.com>
2017-07-31 22:46:15 +03:00
..
examples/SD_Test Added file.close() in manipulation functions (#514) 2017-07-17 03:44:04 +03:00
src Bugfix: Put every SPI access between begin / end Transaction (#509) 2017-07-31 22:46:15 +03: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)