Instructions
335 C-Control Pro IDE
© 2013 Conrad Electronic
Return Parameter
Success of the called SDC function. See SDC Return Values.
5.21.14 SDC_MkDir
SDCard Functions
Syntax
byte SDC_MkDir(char path[]);
Sub SDC_MkDir(ByRef path As Char) As Byte
Description
Creates a directory on the SD card.
Parameter
path path to the directory
Return Parameter
Success of the called SDC function. See SDC Return Values.
5.21.15 SDC_Rename
SDCard Functions
Syntax
byte SDC_Rename(char oldpath[], char newpath[]);
Sub SDC_Rename(ByRef oldpath As Char, ByRef newpath As Char) As Byte
Description
Renames a file from oldpath to newpath.
Parameter
oldpath file path
newpath path to file with new name
If newpath points to a directory other than oldpath, the file is not renamed only, but also moved into the
new directory. In newpath may not be logical disk number, only in oldpath.