วันพุธที่ 19 สิงหาคม พ.ศ. 2552

Application Note ANBS1.00.08 [Issued date August 18, 2009]

LCD driver migrating from ILI9325 to ILI9328

Since August 2009, the LCD installed on Blue Screen has been changed again. Now let’s don’t care what they are different in physical. There is only one line for source code to be changed. Since both ILI9325 and ILI9328 share the same functions. Only read driver code is different, it’s 0x9325 for ILI9325 and 0x9328 for ILI9328. What we have to do is to initialize the LCD in the same way for both of driver IC;

Search for code below in tslcd_elt240320tp_v1_xx.c (it is at line 269 in original code)

if (driver_code == 0x9325) //ILI9325

Then change to this:

And that’s all. No more code needed to be change.

ไม่มีความคิดเห็น:

แสดงความคิดเห็น