978 B
978 B
SD library
This library provides the integration of ESP32 and SD (Secure Digital) cards without additional modules.
Sample wiring diagram:
For others SD 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)