Open mateus23-gacor opened 1 week ago
try by initializing the SD card using the TFT instance :
Serial.println("Initialising TFT_eSPI");
tft.init();
tft.fillScreen(TFT_BLACK);
tft.setRotation(1);
Serial.println("End of Initialising TFT_eSPI");
if (!SD.begin(SD_CS_PIN, tft.getSPIinstance()))
{
Serial.println("SD card initialization failed!");
return;
}
hello owner, why my SD card initialization failed!, i make sure the pin i use is correct