New answers tagged sd.h
-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....
Top 50 recent answers are included
Related Tags
sd.h × 15sd-card × 12
sd × 5
esp32 × 3
arduino-ide × 2
c++ × 2
arduino-uno × 1
serial × 1
esp8266 × 1
arduino-mega × 1
arduino-nano × 1
library × 1
spi × 1
gps × 1
json × 1
ssd1306 × 1