I’m trying to work with a Photon and Micro SD card adapter.
I have tested all the libraries in the Web IDE (SdFat, sd-card-library, sd-card-library-photon-compat) with no success.
The failure always happens in the setup function during the initialization of the SD card.
Just to note, there is no HW issue with the adapter since it worked fine when I tested it with an Arduino Uno and the Arduino’s SD.h library.
SD module → Photon
VCC → VIN
GND → GND
MISO → A4
MOSI → A5
SCK → A3
CS → A2
Does someone have an idea how to solve this?
(Please let me know if further information is required)