Add pin mapping for SD and SD_MMC examples

This commit is contained in:
me-no-dev 2017-03-10 17:35:39 +02:00
parent e30447449f
commit 2f5efed220
2 changed files with 29 additions and 0 deletions

View File

@ -1,3 +1,17 @@
/*
* Connect the SD card to the following pins:
*
* SD Card | ESP32
* D2 -
* D3 SS
* CMD MOSI
* VSS GND
* VDD 3.3V
* CLK SCK
* VSS GND
* D0 MISO
* D1 -
*/
#include "FS.h"
#include "SD.h"
#include "SPI.h"

View File

@ -1,3 +1,18 @@
/*
* Connect the SD card to the following pins:
*
* SD Card | ESP32
* D2 12
* D3 13
* CMD 15
* VSS GND
* VDD 3.3V
* CLK 14
* VSS GND
* D0 2 (add 1K pull up after flashing)
* D1 4
*/
#include "FS.h"
#include "SD_MMC.h"