您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 其它行业文档 > ILI9225G初始化代码
ILI9225G初始化代码voidInit_LCM(){//9225Gwrite_cmd(0x00D0);write_dat(0x0003);write_cmd(0x00EB);write_dat(0x0B00);write_cmd(0x00EC);write_dat(0x000F);write_cmd(0x0001);write_dat(0x011C);//011cwrite_cmd(0x0002);write_dat(0x0100);write_cmd(0x0003);write_dat(0x1030);//1030write_cmd(0x0007);write_dat(0x0000);write_cmd(0x0008);write_dat(0x0202);write_cmd(0x000F);write_dat(0x0901);write_cmd(0x0010);write_dat(0x0000);write_cmd(0x0011);write_dat(0x1B41);write_cmd(0x0012);write_dat(0x200E);write_cmd(0x0013);write_dat(0x0052);write_cmd(0x0014);write_dat(0x475C);write_cmd(0x0030);write_dat(0x0000);write_cmd(0x0031);write_dat(0x00DB);write_cmd(0x0032);write_dat(0x0000);write_cmd(0x0033);write_dat(0x0000);write_cmd(0x0034);write_dat(0x00DB);write_cmd(0x0035);write_dat(0x0000);write_cmd(0x0036);write_dat(0x00AF);write_cmd(0x0037);write_dat(0x0000);write_cmd(0x0038);write_dat(0x00DB);write_cmd(0x0039);write_dat(0x0000);write_cmd(0x0050);write_dat(0x0000);write_cmd(0x0051);write_dat(0x0705);write_cmd(0x0052);write_dat(0x0C0A);write_cmd(0x0053);write_dat(0x0401);write_cmd(0x0054);write_dat(0x040C);write_cmd(0x0055);write_dat(0x0608);write_cmd(0x0056);write_dat(0x0000);write_cmd(0x0057);write_dat(0x0104);write_cmd(0x0058);write_dat(0x0E06);write_cmd(0x0059);write_dat(0x060E);write_cmd(0x0020);write_dat(0x0000);write_cmd(0x0021);write_dat(0x0000);//-----displayon-----delayms(50);write_cmd(0x0007);write_dat(0x1017);//262kcolordisplayONwrite_cmd(0x0022);}voidaddress(){write_cmd(0x0036);write_dat(0x00AF);write_cmd(0x0037);write_dat(0x0000);write_cmd(0x0038);write_dat(0x00DB);write_cmd(0x0039);write_dat(0x0000);write_cmd(0x0020);write_dat(0x0000);write_cmd(0x0021);write_dat(0x0000);write_cmd(0x0022);}/*//================================================voidLCD_Enter_Standby_ILI9225G(void){write_cmd(0x0007);write_dat(0x0000);delayms(50);write_cmd(0x0010);write_dat(0x0000);}//================================================第1页ILI9225G初始化代码voidLCD_Exit_Standby_ILI9225B(void){write_cmd(0x0010);write_dat(0x0000);delayms(50);write_cmd(0x0007);write_dat(0x1017);//262kcolordisplayONwrite_cmd(0x0022);}*/第2页
本文标题:ILI9225G初始化代码
链接地址:https://www.777doc.com/doc-4629419 .html