|
楼主 |
发表于 2010-7-5 20:26:42
|
显示全部楼层
怎么没人跟?自己先跟下。
从底层修改的话要根据ili9225的spc修改寄存器03h,20h,21h。还要修改blokwrite如下:
Set_LCD_16B_REG(0x0003, 0x1038);
Set_LCD_16B_REG(0x0036, 0x00AF);
Set_LCD_16B_REG(0x0037, 0x0000);
Set_LCD_16B_REG(0x0038, 0x00DB);
Set_LCD_16B_REG(0x0039, 0x0000);
Set_LCD_16B_REG(0x0020, 0x0000);
Set_LCD_16B_REG(0x0021, 0x0000);
Set_LCD_16B_REG(0x0036, endx);
Set_LCD_16B_REG(0x0037, startx);
Set_LCD_16B_REG(0x0038, endy);
Set_LCD_16B_REG(0x0039, starty);
Set_LCD_16B_REG(0x0020, startx);
Set_LCD_16B_REG(0x0021, starty); |
|