Hi there,
Yes, In the wrong order though?
I think you may need the other pins defined as well, for a 1 Bit SD_MMC, did you try that?
also you don’t say what type or size it is? (32G-FAT32)
Can you add some code to print out what it thinks the pins are?
ie,
Serial.println("--------------");
Serial.print(CS);Serial.println(" CS");
Serial.print(SS);Serial.println(" SS");
Serial.print(MOSI);Serial.println(" MOSI"); // master out, slave in
Serial.print(MISO);Serial.println(" MISO"); // master in, slave out
Serial.print(SCK);Serial.println(" SCK"); // clock
Serial.println("--------------");
use the names in the lib, see what comes out
So did you try the SD_MMC begin with pin (21) ?
I’m just tossing stuff at you I would try.
HTH
GL PJ