ILI9225G初始化代码

合集下载
相关主题
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

write_cmd(0x0030); write_cmd(0x0031); write_cmd(0x0032); write_cmd(0x0033); write_cmd(0x0034); write_cmd(0x0035); write_cmd(0x0036); write_cmd(0x0037); write_cmd(0x0038); write_cmd(0x0039);
write_cmd(0x0001); write_cmd(0x0002); write_cmd(0x0003); write_cmd(0x0007); write_cmd(0x0008); write_cmd(0x000F);
write_dat(0x011C); //011c write_dat(0x0100); write_dat(0x1030); //1030 write_dat(0x0000); write_dat(0x0202); write_dat(0x0901);
write_dat(0x00AF); write_dat(0x0000); write_dat(0x00DB); write_dat(0x0000);
write_cmd(0x0020); write_dat(0x0000); write_cmd(0x0021); write_dat(0x0000); write_cmd(0x0022);
} //================================================
第1页
void LCD_Exit_Standby _ILI9225B(void) {
write_cmd(0x0010); delayms(50); write_cmd(0x0007); write_cmd(0x0022); }
void Init_LCM() {
//9225G write_cmd(0x00Biblioteka Baidu0); write_cmd(0x00EB); write_cmd(0x00EC);
write_dat(0x0003); write_dat(0x0B00); write_dat(0x000F);
ILI9225G初始化代码
write_cmd(0x0050); write_cmd(0x0051); write_cmd(0x0052); write_cmd(0x0053); write_cmd(0x0054); write_cmd(0x0055); write_cmd(0x0056); write_cmd(0x0057); write_cmd(0x0058); write_cmd(0x0059); write_cmd(0x0020); write_cmd(0x0021);
write_dat(0x0000); write_dat(0x00DB); write_dat(0x0000); write_dat(0x0000); write_dat(0x00DB); write_dat(0x0000); write_dat(0x00AF); write_dat(0x0000); write_dat(0x00DB); write_dat(0x0000);
write_cmd(0x0010); write_cmd(0x0011); write_cmd(0x0012); write_cmd(0x0013); write_cmd(0x0014);
write_dat(0x0000); write_dat(0x1B41); write_dat(0x200E); write_dat(0x0052); write_dat(0x475C);
write_dat(0x0000); write_dat(0x1017);
*/
ILI9225G初始化代码 //262k color display ON
第2页
write_dat(0x0000); write_dat(0x0705); write_dat(0x0C0A); write_dat(0x0401); write_dat(0x040C); write_dat(0x0608); write_dat(0x0000); write_dat(0x0104); write_dat(0x0E06); write_dat(0x060E); write_dat(0x0000); write_dat(0x0000);
// ----- display on ----delayms(50); write_cmd(0x0007); write_dat(0x1017); write_cmd(0x0022);
//262k color display ON
}
void address() { write_cmd(0x0036); write_cmd(0x0037); write_cmd(0x0038); write_cmd(0x0039);
}
/*
//================================================ void LCD_Enter_Standby_ILI9225G(void) { write_cmd(0x0007); write_dat(0x0000); delayms(50); write_cmd(0x0010); write_dat(0x0000);
相关文档
最新文档