e z L C D -‐ 4 0 5
|
103
Rev.
© 2016 Earth Computers Tech. Inc.
1.7.36 SD_FILE_LIST
Description:
Gets the list of files and sub-‐directories which reside in the specified SD
Directory. This command is similar to the DOS "dir" command.
Supported file
systems
: FAT12, FAT16, FAT32
Code:
79
hex,
121
dec
7
6
5
4
3
2
1
0
Byte 0: Command
Byte 2: First Character of the file path
Byte 3: Second Character of the file path
Byte n: Last Character
Byte n+1: NULL
Notes:
SD card has to be formatted in the supported file system.
About the SD Directory/File Path:
·∙ Directory Path specifies the path to the SD directory, SD file or group of files and sub-‐
directories.
·∙ Wildcards: '*' and '?' are supported
·∙ Directories should be separated by: / (
not by: \
like in Windows and DOS).
·∙ Directory Path is not case-‐sensitive. The drive and root directory do not have to be indicated,
for example: A:/Cat/Jumped/Over, CAT/juMped/OvEr/ and cat/jumped/over specify the same.
·∙ Long directory names are supported, however the Directory Path NULL may not exceed 64
bytes.
ezLCD Response
After receiving the SD_FILE_LIST command, the ezLCD responds with either of the following
sequences:
In case of the
success
:
3A
hex (
58
dec), followed by the NULL-‐terminated string containing the directory files and sub-‐
directories list:
SD_FILE_LIST
ASCII
ASCII
0
ASCII
Di
re
ct
or
y/
Fi
le
p
at
h
on
S
D
(N
U
LL
-‐te
rm
in
ate
d
st
rin
g)
Summary of Contents for ezLCD-405
Page 1: ......
Page 22: ...e z L C D 4 0 5 22 Rev 2016 Earth Computers Tech Inc Figure 2 ezLCD 405 Schematic...
Page 32: ...e z L C D 4 0 5 32 Rev 2016 Earth Computers Tech Inc...
Page 52: ...e z L C D 4 0 5 52 Rev 2016 Earth Computers Tech Inc SET_COLOR SET_XY...
Page 102: ...e z L C D 4 0 5 102 Rev 2016 Earth Computers Tech Inc...
Page 109: ...e z L C D 4 0 5 109 Rev 2016 Earth Computers Tech Inc...
Page 118: ...e z L C D 4 0 5 118 Rev 2016 Earth Computers Tech Inc...