Page 841 - 완) I MDP 프로젝트 작품 보고서(전체과 1학년)1.6
P. 841
wr_reg(0x13, 0x1D00); /* VDV[4:0] for VCOM amplitude*/
wr_reg(0x29, 0x0013); /* VCM[4:0] for VCOMH*/
delay(2); /* Delay 50 ms*/
wr_reg(0x20, 0x0000); /* GRAM horizontal Address */
wr_reg(0x21, 0x0000); /* GRAM Vertical Address*/
delay(5);
/* Adjust the Gamma Curve --------------------*/
wr_reg(0x30, 0x0006);
wr_reg(0x31, 0x0101);
wr_reg(0x32, 0x0003);
wr_reg(0x35, 0x0106);
wr_reg(0x36, 0x0B02);
wr_reg(0x37, 0x0302);
wr_reg(0x38, 0x0707);
wr_reg(0x39, 0x0007);
wr_reg(0x3C, 0x0600);
wr_reg(0x3D, 0x020B);
delay(5);
/* Set GRAM area --------------------*/
wr_reg(0x50, 0x0000); /* Horizontal GRAM Start Address*/
// wr_reg(0x51, (HEIGHT-1)); /* Horizontal GRAM End Address*/
wr_reg(0x51, 0x00ef);
wr_reg(0x52, 0x0000); /* Vertical GRAM Start Address*/
// wr_reg(0x53, (WIDTH-1)); /* Vertical GRAM End Address*/
wr_reg(0x53, 0x013f);
wr_reg(0x60, 0xa700); /* Gate Scan Line 라인 앞뒤변환*/
wr_reg(0x61, 0x0001); /* NDL,VLE, REV*/
wr_reg(0x6A, 0x0000); /* Set scrolling line*/
wr_reg(0x0080,0x0000);
wr_reg(0x0081,0x0000);
wr_reg(0x0082,0x0000);
wr_reg(0x0083,0x0000);
wr_reg(0x0084,0x0000);
wr_reg(0x0085,0x0000);
wr_reg(0x0090,0x0010);
wr_reg(0x0092,0x0600);
wr_reg(0x0007,0x0133);
- 834 -