Hi,
Is that a Arduino IDE library for reading SD on Xiao expansion board with Xiao ESP32C3?
Thanks for helping
Would the following example be helpful?
“\Arduino15\packages\esp32\hardware\esp32\2.0.5\libraries\SD\examples/SD_Test”
It needs a little work to get it working.
void setup(){
Serial.begin(115200);
delay(5000); //need to start up the serial monitor while delaying.
if(!SD.begin(D2)){ //Expansion board SD_CS=D2
The chip select for the SD is D2.
You need to bring up the serial monitor during 5 seconds.
Yes, it is working now. Thank you.
The original SD_Test example has no parameter for SD.begin, I guess the default CS pin was somewhere else.
if(!SD.begin()){