Skip to content

Connecting the SD card to the ESP32 SC01-plus #20

Answered by sukesh-ak
powersoft asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, I have an sc01-plus, and it is working fine. The only thing I can't get running is the sdcard. I use the Arduino envoirment to programm. Do you have tips for me to get it running.

This is the program I have written to test it.

Thanks for any help

`#define LGFX_USE_V1 // set to use new version of library #include <LovyanGFX.hpp> // main library #include "config.h"

#include "FS.h" // File System header #include "SD.h" // SD Card header

static LGFX lcd; // declare display variable

#define sdSelectPin 41 void setup() { Serial.begin(500000); lcd.init(); lcd.setRotation(1); lcd.clear(TFT_RED); if (!SD.begin(sdSelectPin)) { Serial.println("SD Card initialisation failed!"); } Serial.print…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sukesh-ak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants