SD Card and SD.h library

I’ve found that using this library SD - Arduino Reference with my Mega 2560 board, it will access just about any SD card.

Using My ESP32 board, it looks in a different location for the SD card library and uses this library arduino-esp32/libraries/SD at master · espressif/arduino-esp32 · GitHub

Using this library and my ESP32, it will only access a single SD card. The SD card that it will access is old, 10 years or more, and is unbranded. I was wondering if I am using an obsolete version of the library and therefore it works with an obsolete card.

Can I use SD - Arduino Reference with an ESP32 or are they incompatible? If I can, do I just need to copy the folder to where the ESP32 is looking. The location is C:\Users\Ian Gill\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\libraries\SD

Alternatively Can I drag the most up to date folders for the ESP SD Library into the same location? It appears that the library is still current judging by the dates of amendments.

I’m still relatively new to using Arduino’s and a lot of what I am doing is using example sketches and modifying them and learning in the process. I am worried that if I start digging around in the guts of library locations, I may completely gum up the works.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.