[ILI9325] read LCD version
This commit is contained in:
parent
2ad62e1ed7
commit
d1448817cd
1 changed files with 2 additions and 0 deletions
|
@ -151,6 +151,8 @@ bool_t gdisp_lld_init(void) {
|
||||||
gdisp_lld_reset_pin(FALSE);
|
gdisp_lld_reset_pin(FALSE);
|
||||||
lld_lcdDelay(1000);
|
lld_lcdDelay(1000);
|
||||||
|
|
||||||
|
DISPLAY_CODE = lld_lcdReadReg(0);
|
||||||
|
|
||||||
// chinese code starts here
|
// chinese code starts here
|
||||||
lld_lcdWriteReg(0x0000,0x0001);
|
lld_lcdWriteReg(0x0000,0x0001);
|
||||||
lld_lcdDelay(10);
|
lld_lcdDelay(10);
|
||||||
|
|
Loading…
Add table
Reference in a new issue