看固件库初始化.看到有个指令没有定义 单独写出来的 有知道的吗?
void LCD_PowerOn(void)
{
LCD_WriteCommand(0xCA);//就是这个CAH 找不到 E文太弱
LCD_WriteData(0xC3);
LCD_WriteData(0x08);
LCD_WriteData(0x50);
LCD_WriteCommand(LCD_POWERB);
LCD_WriteData(0x00);
LCD_WriteData(0xC1);
LCD_WriteData(0x30);
LCD_WriteCommand(LCD_POWER_SEQ);
LCD_WriteData(0x64);
LCD_WriteData(0x03);
LCD_WriteData(0x12);
LCD_WriteData(0x81);
LCD_WriteCommand(LCD_DTCA);
.....
} |