|
楼主 |
发表于 2010-8-5 18:53:15
|
显示全部楼层
我用的是R61509V的屏。原来是进入刷屏模式是1030.
blockwrite里面原理的是:
SET_LCD_CMD_PARAMETER_IC(0,LCD_CMD,0x0210);
SET_LCD_CMD_PARAMETER_IC(1,LCD_DATA,startx);
SET_LCD_CMD_PARAMETER_IC(2,LCD_CMD,0x0211);
SET_LCD_CMD_PARAMETER_IC(3,LCD_DATA,endx);
SET_LCD_CMD_PARAMETER_IC(4,LCD_CMD,0x0212);
SET_LCD_CMD_PARAMETER_IC(5,LCD_DATA,starty);
SET_LCD_CMD_PARAMETER_IC(6,LCD_CMD,0x0213);
SET_LCD_CMD_PARAMETER_IC(7,LCD_DATA,endy);
SET_LCD_CMD_PARAMETER_IC(8,LCD_CMD,0x200);
SET_LCD_CMD_PARAMETER_IC(9,LCD_DATA,startx);
SET_LCD_CMD_PARAMETER_IC(10,LCD_CMD,0x201);
SET_LCD_CMD_PARAMETER_IC(11,LCD_DATA,starty); |
|