Skip to content

Commit 9e5c714

Browse files
authored
Merge pull request #23 from LarsWust/patch-1
Fix SPI pin typo in Arduino_esp32_SD.ino
2 parents 1bf9b33 + 9c88a2f commit 9e5c714

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/Arduino_esp32_SD/Arduino_esp32_SD.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ void setup(void){
7878
/////FTP Setup, ensure SPIFFS is started before ftp; /////////
7979

8080
/////FTP Setup, ensure SPIFFS is started before ftp; /////////
81-
SPI.begin(14, 2, 15, 13); //SCK, MISO, MOSI,SS
81+
SPI.begin(14, 12, 15, 13); //SCK, MISO, MOSI,SS
8282

8383
if (SD.begin(13, SPI)) {
8484
Serial.println("SD opened!");

0 commit comments

Comments
 (0)