You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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() {
}
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: