mirror of
https://github.com/YuzuZensai/MCUFRIEND_kbv.git
synced 2026-01-31 14:57:48 +00:00
test for HX8357-D is too big for Uno
This commit is contained in:
@@ -214,10 +214,12 @@ uint16_t MCUFRIEND_kbv::readID(void)
|
||||
ret = ret32;
|
||||
// if (msb = 0x38 && ret == 0x8000) //unknown [xx 38 80 00] with D3 = 0x1602
|
||||
if (msb == 0x00 && ret == 0x8000) { //HX8357-D [xx 00 80 00]
|
||||
#if 0
|
||||
uint8_t cmds[] = {0xFF, 0x83, 0x57};
|
||||
pushCommand(0xB9, cmds, 3);
|
||||
msb = readReg(0xD0);
|
||||
if (msb == 0x99 || msb == 0x90)
|
||||
#endif
|
||||
return 0x8357;
|
||||
}
|
||||
if (msb == 0xFF && ret == 0xFFFF) //R61526 [xx FF FF FF]
|
||||
|
||||
Reference in New Issue
Block a user