Skip to content

Commit 2f5efed

Browse files
committed
Add pin mapping for SD and SD_MMC examples
1 parent e304474 commit 2f5efed

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

libraries/SD/examples/SD_Test/SD_Test.ino

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/*
2+
* Connect the SD card to the following pins:
3+
*
4+
* SD Card | ESP32
5+
* D2 -
6+
* D3 SS
7+
* CMD MOSI
8+
* VSS GND
9+
* VDD 3.3V
10+
* CLK SCK
11+
* VSS GND
12+
* D0 MISO
13+
* D1 -
14+
*/
115
#include "FS.h"
216
#include "SD.h"
317
#include "SPI.h"

libraries/SD_MMC/examples/SDMMC_Test/SDMMC_Test.ino

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Connect the SD card to the following pins:
3+
*
4+
* SD Card | ESP32
5+
* D2 12
6+
* D3 13
7+
* CMD 15
8+
* VSS GND
9+
* VDD 3.3V
10+
* CLK 14
11+
* VSS GND
12+
* D0 2 (add 1K pull up after flashing)
13+
* D1 4
14+
*/
15+
116
#include "FS.h"
217
#include "SD_MMC.h"
318

0 commit comments

Comments
 (0)