List all files or specific name file in the flash chip. The result is sending back to the serial port.
Note: This function can't run in commands set.
|
Direct: |
"fDIR*" List all files in flash chip. Each file uses 16 bytes: name[11], size[3], first FAT[2]. "fDIRfilename " search if the there is a file in flash chip, if found, then return 14 bytes: name[11],size[3]. |
|
Arduino: |
void listFiles(void) |
|
C: |
void Digole_listFiles(void) void Digole_listFile(const char[] filename) |
filename
A character array of file name. The maximum length is 11 bytes.
| Version | Description |
|---|---|
| V7 | function was added. |