e z L C D -‐ 4 0 5
|
117
Rev.
© 2016 Earth Computers Tech. Inc.
About the File ID:
File ID is returned in the response to the
SD_FILE_CREATE
or
SD_FILE_OPEN
command. It
identifies the file after it has been opened. Since maximum 2 files may be concurrently opened,
the File ID should be: 1 or 2. Values higher than 2 are interpreted as 2 and 0 is interpreted as 1.
ezLCD Response
After receiving the SD_FILE_WRITE command, the ezLCD responds with either of the following
sequences:
In case of the
success
:
7
6
5
4
3
2
1
0
0
0
1
1
1
0
1
1
Byte 0:
39
hex,
59
dec
In case of an
error
:
7
6
5
4
3
2
1
0
0
0
1
1
1
1
1
0
Byte 0:
3E
hex,
62
dec
The ezLCD response is sent through the same interface, which received the SD_FILE_WRITE
command.
Example:
The following flow chart on the next page shows an example of writing 16 bytes into the
created file MyFile.dat
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...