-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
I intended to use the library with SD card, but it seems that the initialisation of SD card always fails. Meanwhile, using the hardware SPI works.
Sketch to reproduce on ESP32:
#include <SoftSPI.h>
#include <SD.h>
#include <iostream>
SoftSPI sSPI(MOSI, MISO, SCK);
// the setup function runs once when you press reset or power the board
void setup() {
Serial.begin(115200);
std::cout << "Test Begins:\n";
bool isSdSuccess = SD.begin(SS, sSPI);
std::cout << "SD Setup: " << std::boolalpha << isSdSuccess << '\n';
}
// the loop function runs over and over again until power down or reset
void loop() {
}
Metadata
Metadata
Assignees
Labels
No labels