Library for SD Card
Closed this issue · 5 comments
I don't see which specific libary we should use for the SD Card Module
Is this issue related to the Python code or C code?
If Python, I am using the driver located here: https://github.com/StateFarm-STEM/hablogger/blob/main/python/raspberrypico/drivers/src/sdcard.py
I pulled the driver local to the project to keep functionality consistent, and to avoid confusion with the instructors about which driver version to use from the open source project.
The C Code. It says "using the SID library" in the lesson but when I go through Arduino's Library Manager to bring in the library there are some choices so I am not sure which to select.
Hey @gregdirst can you have a look?
@feeneyai I think if you just add this to the top of your code it will know what you need...
#include <SPI.h>
#include <SD.h>
Have you tried running the code with these two lines at the top? If not, try it and let me know how it goes. If you have, did you get an error?
I'm going to say this is fine as we completed the lesson last week and I ran through it at home with no issues with the fat client.