CSV-Parser-for-Arduino icon indicating copy to clipboard operation
CSV-Parser-for-Arduino copied to clipboard

Platformio compilation problem due to SD.h import

Open michalmonday opened this issue 5 years ago • 2 comments

michalmonday avatar Oct 22 '20 08:10 michalmonday

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.

SherifMEldeeb avatar May 02 '21 14:05 SherifMEldeeb

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

KaloNK avatar Nov 24 '21 16:11 KaloNK