SdFat: How to go to parent directory?
i wonder how go parent directory sdfat.
sdfat sd;
sd.vwd()->chdir("..") nothing
sd.vwd()->chdir() goes root directory
any hints?
thanks, oliver
sdfat sd;
sd.vwd()->chdir("..") nothing
sd.vwd()->chdir() goes root directory
any hints?
thanks, oliver
there not supported way.
i wrote function:
i made private since not happy design. no 1 asked didn't follow up.
you edit sdbasefile.h @ line 358 , make public. may not work since wrote long time ago.
i wrote function:
code: [select]
/** experimental don't use */
bool openparent(sdbasefile* dir);i made private since not happy design. no 1 asked didn't follow up.
you edit sdbasefile.h @ line 358 , make public. may not work since wrote long time ago.
Arduino Forum > Using Arduino > Storage > SdFat: How to go to parent directory?
arduino
Comments
Post a Comment