New answers tagged

-1 votes

Returning to parent directory with the SD library

I don't think there is an inbuilt function returning the parent, but you could do: FS &file_system = SD; // pick whichever file system you use File get_parent(File dir) { String dirPath = dir....
Mikael Tulldahl's user avatar

Top 50 recent answers are included