CSV-Parser-for-Arduino
CSV-Parser-for-Arduino copied to clipboard
Platformio compilation problem due to SD.h import
just add it to your project dependencies as the way the compiler work it doesn't include libraries dependencies automatically unless the library it self handled it which is not the case.
Suggestion - use the file object provided from the caller and just remove open, the rest of the code is unchanged: CSV_Parser::readFile(File csv_file) and you call it as: cv.readFile(SD.open(f_name)); csv_file is still closed from the call, so it should be OK