初中生
最后登录1970-1-1
在线时间 小时
注册时间2013-8-19
|
LCD初始化函数里面void LCD_Init(void){
unsigned long i;
LCD_GPIO_Config();
LCD_FSMC_Config();
LCD_Rst();
#ifdef HX8347 /*HX8347*/
//Driving ability Setting
LCD_WR_CMD(0xEA,0x00); //PTBA[15:8]
LCD_WR_CMD(0xEB,0x20); //PTBA[7:0]
LCD_WR_CMD(0xEC,0x3C); //STBA[15:8]
LCD_WR_CMD(0xED,0xC4); //STBA[7:0]
LCD_WR_CMD(0xE8,0x48); //OPON[7:0]
LCD_WR_CMD(0xE9,0x38); //OPON1[7:0]
LCD_WR_CMD(0xF1,0x01); //OTPS1B
LCD_WR_CMD(0xF2,0x08); //GEN ,PTBA,我怎么找不到相关的设置
|
|