完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
` 我用STM32f103zet6驱动5.0寸TFT彩屏,分辨率480*854,驱动ic为瑞鼎的RM68180,现在就是关于这个驱动芯片初始化不太了解,里面的寄存器有关于电压设置参数.显示方式.伽马校正等.,这芯片和NT35510很类似,现在液晶显示不出来,液晶初始化参数可能要调整,望大伙给点提示,或者提供这芯片初始化的资料也行! 现在是花屏,我写的是单色清屏,写命令数据没啥问题,估计就是初始化的问题 液晶接口要求给2.8V电压,最大3.3,我直接给的3.3v,不知道对液晶显示有什么影响 以下是资料里给的初始化函数,不知哪些要调整.. 附上这芯片驱动资料,大家看看
RM68180_DS_V0.5_20130102.pdf
(5.11 MB, 下载次数: 249
)
LCD_Cmd_wr(0xF000); LCD_para_wr(0x55); LCD_Cmd_wr(0xF001); LCD_para_wr(0xAA); LCD_Cmd_wr(0xF002); LCD_para_wr(0x52); LCD_Cmd_wr(0xF003); LCD_para_wr(0x08); LCD_Cmd_wr(0xF004); LCD_para_wr(0x01); LCD_Cmd_wr(0xB000); LCD_para_wr(0x05); LCD_Cmd_wr(0xB001); LCD_para_wr(0x05); LCD_Cmd_wr(0xB002); LCD_para_wr(0x05); LCD_Cmd_wr(0xB100); LCD_para_wr(0x05); LCD_Cmd_wr(0xB101); LCD_para_wr(0x05); LCD_Cmd_wr(0xB102); LCD_para_wr(0x05); LCD_Cmd_wr(0xB300); LCD_para_wr(0x08); LCD_Cmd_wr(0xB301); LCD_para_wr(0x08); LCD_Cmd_wr(0xB302); LCD_para_wr(0x08); LCD_Cmd_wr(0xB500); LCD_para_wr(0x08); LCD_Cmd_wr(0xB501); LCD_para_wr(0x08); LCD_Cmd_wr(0xB502); LCD_para_wr(0x08); LCD_Cmd_wr(0xB600); LCD_para_wr(0x54); LCD_Cmd_wr(0xB601); LCD_para_wr(0x54); LCD_Cmd_wr(0xB602); LCD_para_wr(0x54); LCD_Cmd_wr(0xB700); LCD_para_wr(0x44); LCD_Cmd_wr(0xB701); LCD_para_wr(0x44); LCD_Cmd_wr(0xB702); LCD_para_wr(0x44); LCD_Cmd_wr(0xB800); LCD_para_wr(0x34); LCD_Cmd_wr(0xB801); LCD_para_wr(0x34); LCD_Cmd_wr(0xB802); LCD_para_wr(0x34); LCD_Cmd_wr(0xB900); LCD_para_wr(0x34); LCD_Cmd_wr(0xB901); LCD_para_wr(0x34); LCD_Cmd_wr(0xB902); LCD_para_wr(0x34); LCD_Cmd_wr(0xBA00); LCD_para_wr(0x24); LCD_Cmd_wr(0xBA01); LCD_para_wr(0x24); LCD_Cmd_wr(0xBA02); LCD_para_wr(0x24); LCD_Cmd_wr(0xBC00); LCD_para_wr(0x00); LCD_Cmd_wr(0xBC01); LCD_para_wr(0xA0); LCD_Cmd_wr(0xBC02); LCD_para_wr(0x00); LCD_Cmd_wr(0xBD00); LCD_para_wr(0x00); LCD_Cmd_wr(0xBD01); LCD_para_wr(0xA0); LCD_Cmd_wr(0xBD02); LCD_para_wr(0x00); LCD_Cmd_wr(0xBE00); LCD_para_wr(0x00); LCD_Cmd_wr(0xBE01); LCD_para_wr(0x58); LCD_Cmd_wr(0xBF00); LCD_para_wr(0x01); LCD_Cmd_wr(0xD100); LCD_para_wr(0x00); LCD_Cmd_wr(0xD101); LCD_para_wr(0x00); LCD_Cmd_wr(0xD102); LCD_para_wr(0x00); LCD_Cmd_wr(0xD103); LCD_para_wr(0x01); LCD_Cmd_wr(0xD104); LCD_para_wr(0x00); LCD_Cmd_wr(0xD105); LCD_para_wr(0x15); LCD_Cmd_wr(0xD106); LCD_para_wr(0x00); LCD_Cmd_wr(0xD107); LCD_para_wr(0x3B); LCD_Cmd_wr(0xD108); LCD_para_wr(0x00); LCD_Cmd_wr(0xD109); LCD_para_wr(0x6C); LCD_Cmd_wr(0xD10A); LCD_para_wr(0x00); LCD_Cmd_wr(0xD10B); LCD_para_wr(0xC7); LCD_Cmd_wr(0xD10C); LCD_para_wr(0x01); LCD_Cmd_wr(0xD10D); LCD_para_wr(0x0D); LCD_Cmd_wr(0xD10E); LCD_para_wr(0x01); LCD_Cmd_wr(0xD10F); LCD_para_wr(0x61); LCD_Cmd_wr(0xD110); LCD_para_wr(0x01); LCD_Cmd_wr(0xD111); LCD_para_wr(0x94); LCD_Cmd_wr(0xD112); LCD_para_wr(0x01); LCD_Cmd_wr(0xD113); LCD_para_wr(0xD4); LCD_Cmd_wr(0xD114); LCD_para_wr(0x01); LCD_Cmd_wr(0xD115); LCD_para_wr(0xFF); LCD_Cmd_wr(0xD116); LCD_para_wr(0x02); LCD_Cmd_wr(0xD117); LCD_para_wr(0x3C); LCD_Cmd_wr(0xD118); LCD_para_wr(0x02); LCD_Cmd_wr(0xD119); LCD_para_wr(0x69); LCD_Cmd_wr(0xD11A); LCD_para_wr(0x02); LCD_Cmd_wr(0xD11B); LCD_para_wr(0x6A); LCD_Cmd_wr(0xD11C); LCD_para_wr(0x02); LCD_Cmd_wr(0xD11D); LCD_para_wr(0x90); LCD_Cmd_wr(0xD11E); LCD_para_wr(0x02); LCD_Cmd_wr(0xD11F); LCD_para_wr(0xB5); LCD_Cmd_wr(0xD120); LCD_para_wr(0x02); LCD_Cmd_wr(0xD121); LCD_para_wr(0xCB); LCD_Cmd_wr(0xD122); LCD_para_wr(0x02); LCD_Cmd_wr(0xD123); LCD_para_wr(0xE2); LCD_Cmd_wr(0xD124); LCD_para_wr(0x02); LCD_Cmd_wr(0xD125); LCD_para_wr(0xF2); LCD_Cmd_wr(0xD126); LCD_para_wr(0x03); LCD_Cmd_wr(0xD127); LCD_para_wr(0x04); LCD_Cmd_wr(0xD128); LCD_para_wr(0x03); LCD_Cmd_wr(0xD129); LCD_para_wr(0x11); LCD_Cmd_wr(0xD12A); LCD_para_wr(0x03); LCD_Cmd_wr(0xD12B); LCD_para_wr(0x21); LCD_Cmd_wr(0xD12C); LCD_para_wr(0x03); LCD_Cmd_wr(0xD12D); LCD_para_wr(0x2D); LCD_Cmd_wr(0xD12E); LCD_para_wr(0x03); LCD_Cmd_wr(0xD12F); LCD_para_wr(0x3E); LCD_Cmd_wr(0xD130); LCD_para_wr(0x03); LCD_Cmd_wr(0xD131); LCD_para_wr(0x64); LCD_Cmd_wr(0xD132); LCD_para_wr(0x03); LCD_Cmd_wr(0xD133); LCD_para_wr(0xFE); LCD_Cmd_wr(0xD200); LCD_para_wr(0x00); LCD_Cmd_wr(0xD201); LCD_para_wr(0x00); LCD_Cmd_wr(0xD202); LCD_para_wr(0x00); LCD_Cmd_wr(0xD203); LCD_para_wr(0x01); LCD_Cmd_wr(0xD204); LCD_para_wr(0x00); LCD_Cmd_wr(0xD205); LCD_para_wr(0x15); LCD_Cmd_wr(0xD206); LCD_para_wr(0x00); LCD_Cmd_wr(0xD207); LCD_para_wr(0x3B); LCD_Cmd_wr(0xD208); LCD_para_wr(0x00); LCD_Cmd_wr(0xD209); LCD_para_wr(0x6C); LCD_Cmd_wr(0xD20A); LCD_para_wr(0x00); LCD_Cmd_wr(0xD20B); LCD_para_wr(0xC7); LCD_Cmd_wr(0xD20C); LCD_para_wr(0x01); LCD_Cmd_wr(0xD20D); LCD_para_wr(0x0D); LCD_Cmd_wr(0xD20E); LCD_para_wr(0x01); LCD_Cmd_wr(0xD20F); LCD_para_wr(0x61); LCD_Cmd_wr(0xD210); LCD_para_wr(0x01); LCD_Cmd_wr(0xD211); LCD_para_wr(0x94); LCD_Cmd_wr(0xD212); LCD_para_wr(0x01); LCD_Cmd_wr(0xD213); LCD_para_wr(0xD4); LCD_Cmd_wr(0xD214); LCD_para_wr(0x01); LCD_Cmd_wr(0xD215); LCD_para_wr(0xFF); LCD_Cmd_wr(0xD216); LCD_para_wr(0x02); LCD_Cmd_wr(0xD217); LCD_para_wr(0x3C); LCD_Cmd_wr(0xD218); LCD_para_wr(0x02); LCD_Cmd_wr(0xD219); LCD_para_wr(0x69); LCD_Cmd_wr(0xD21A); LCD_para_wr(0x02); LCD_Cmd_wr(0xD21B); LCD_para_wr(0x6A); LCD_Cmd_wr(0xD21C); LCD_para_wr(0x02); LCD_Cmd_wr(0xD21D); LCD_para_wr(0x90); LCD_Cmd_wr(0xD21E); LCD_para_wr(0x02); LCD_Cmd_wr(0xD21F); LCD_para_wr(0xB5); LCD_Cmd_wr(0xD220); LCD_para_wr(0x02); LCD_Cmd_wr(0xD221); LCD_para_wr(0xCB); LCD_Cmd_wr(0xD222); LCD_para_wr(0x02); LCD_Cmd_wr(0xD223); LCD_para_wr(0xE2); LCD_Cmd_wr(0xD224); LCD_para_wr(0x02); LCD_Cmd_wr(0xD225); LCD_para_wr(0xF2); LCD_Cmd_wr(0xD226); LCD_para_wr(0x03); LCD_Cmd_wr(0xD227); LCD_para_wr(0x04); LCD_Cmd_wr(0xD228); LCD_para_wr(0x03); LCD_Cmd_wr(0xD229); LCD_para_wr(0x11); LCD_Cmd_wr(0xD22A); LCD_para_wr(0x03); LCD_Cmd_wr(0xD22B); LCD_para_wr(0x21); LCD_Cmd_wr(0xD22C); LCD_para_wr(0x03); LCD_Cmd_wr(0xD22D); LCD_para_wr(0x2D); LCD_Cmd_wr(0xD22E); LCD_para_wr(0x03); LCD_Cmd_wr(0xD22F); LCD_para_wr(0x3E); LCD_Cmd_wr(0xD230); LCD_para_wr(0x03); LCD_Cmd_wr(0xD231); LCD_para_wr(0x64); LCD_Cmd_wr(0xD232); LCD_para_wr(0x03); LCD_Cmd_wr(0xD233); LCD_para_wr(0xFE); LCD_Cmd_wr(0xD300); LCD_para_wr(0x00); LCD_Cmd_wr(0xD301); LCD_para_wr(0x00); LCD_Cmd_wr(0xD302); LCD_para_wr(0x00); LCD_Cmd_wr(0xD303); LCD_para_wr(0x01); LCD_Cmd_wr(0xD304); LCD_para_wr(0x00); LCD_Cmd_wr(0xD305); LCD_para_wr(0x15); LCD_Cmd_wr(0xD306); LCD_para_wr(0x00); LCD_Cmd_wr(0xD307); LCD_para_wr(0x3B); LCD_Cmd_wr(0xD308); LCD_para_wr(0x00); LCD_Cmd_wr(0xD309); LCD_para_wr(0x6C); LCD_Cmd_wr(0xD30A); LCD_para_wr(0x00); LCD_Cmd_wr(0xD30B); LCD_para_wr(0xC7); LCD_Cmd_wr(0xD30C); LCD_para_wr(0x01); LCD_Cmd_wr(0xD30D); LCD_para_wr(0x0D); LCD_Cmd_wr(0xD30E); LCD_para_wr(0x01); LCD_Cmd_wr(0xD30F); LCD_para_wr(0x61); LCD_Cmd_wr(0xD310); LCD_para_wr(0x01); LCD_Cmd_wr(0xD311); LCD_para_wr(0x94); LCD_Cmd_wr(0xD312); LCD_para_wr(0x01); LCD_Cmd_wr(0xD313); LCD_para_wr(0xD4); LCD_Cmd_wr(0xD314); LCD_para_wr(0x01); LCD_Cmd_wr(0xD315); LCD_para_wr(0xFF); LCD_Cmd_wr(0xD316); LCD_para_wr(0x02); LCD_Cmd_wr(0xD317); LCD_para_wr(0x3C); LCD_Cmd_wr(0xD318); LCD_para_wr(0x02); LCD_Cmd_wr(0xD319); LCD_para_wr(0x69); LCD_Cmd_wr(0xD31A); LCD_para_wr(0x02); LCD_Cmd_wr(0xD31B); LCD_para_wr(0x6A); LCD_Cmd_wr(0xD31C); LCD_para_wr(0x02); LCD_Cmd_wr(0xD31D); LCD_para_wr(0x90); LCD_Cmd_wr(0xD31E); LCD_para_wr(0x02); LCD_Cmd_wr(0xD31F); LCD_para_wr(0xB5); LCD_Cmd_wr(0xD320); LCD_para_wr(0x02); LCD_Cmd_wr(0xD321); LCD_para_wr(0xCB); LCD_Cmd_wr(0xD322); LCD_para_wr(0x02); LCD_Cmd_wr(0xD323); LCD_para_wr(0xE2); LCD_Cmd_wr(0xD324); LCD_para_wr(0x02); LCD_Cmd_wr(0xD325); LCD_para_wr(0xF2); LCD_Cmd_wr(0xD326); LCD_para_wr(0x03); LCD_Cmd_wr(0xD327); LCD_para_wr(0x04); LCD_Cmd_wr(0xD328); LCD_para_wr(0x03); LCD_Cmd_wr(0xD329); LCD_para_wr(0x11); LCD_Cmd_wr(0xD32A); LCD_para_wr(0x03); LCD_Cmd_wr(0xD32B); LCD_para_wr(0x21); LCD_Cmd_wr(0xD32C); LCD_para_wr(0x03); LCD_Cmd_wr(0xD32D); LCD_para_wr(0x2D); LCD_Cmd_wr(0xD32E); LCD_para_wr(0x03); LCD_Cmd_wr(0xD32F); LCD_para_wr(0x3E); LCD_Cmd_wr(0xD330); LCD_para_wr(0x03); LCD_Cmd_wr(0xD331); LCD_para_wr(0x64); LCD_Cmd_wr(0xD332); LCD_para_wr(0x03); LCD_Cmd_wr(0xD333); LCD_para_wr(0xFE); LCD_Cmd_wr(0xD400); LCD_para_wr(0x00); LCD_Cmd_wr(0xD401); LCD_para_wr(0x00); LCD_Cmd_wr(0xD402); LCD_para_wr(0x00); LCD_Cmd_wr(0xD403); LCD_para_wr(0x01); LCD_Cmd_wr(0xD404); LCD_para_wr(0x00); LCD_Cmd_wr(0xD405); LCD_para_wr(0x15); LCD_Cmd_wr(0xD406); LCD_para_wr(0x00); LCD_Cmd_wr(0xD407); LCD_para_wr(0x3B); LCD_Cmd_wr(0xD408); LCD_para_wr(0x00); LCD_Cmd_wr(0xD409); LCD_para_wr(0x6C); LCD_Cmd_wr(0xD40A); LCD_para_wr(0x00); LCD_Cmd_wr(0xD40B); LCD_para_wr(0xC7); LCD_Cmd_wr(0xD40C); LCD_para_wr(0x01); LCD_Cmd_wr(0xD40D); LCD_para_wr(0x0D); LCD_Cmd_wr(0xD40E); LCD_para_wr(0x01); LCD_Cmd_wr(0xD40F); LCD_para_wr(0x61); LCD_Cmd_wr(0xD410); LCD_para_wr(0x01); LCD_Cmd_wr(0xD411); LCD_para_wr(0x94); LCD_Cmd_wr(0xD412); LCD_para_wr(0x01); LCD_Cmd_wr(0xD413); LCD_para_wr(0xD4); LCD_Cmd_wr(0xD414); LCD_para_wr(0x01); LCD_Cmd_wr(0xD415); LCD_para_wr(0xFF); LCD_Cmd_wr(0xD416); LCD_para_wr(0x02); LCD_Cmd_wr(0xD417); LCD_para_wr(0x3C); LCD_Cmd_wr(0xD418); LCD_para_wr(0x02); LCD_Cmd_wr(0xD419); LCD_para_wr(0x69); LCD_Cmd_wr(0xD41A); LCD_para_wr(0x02); LCD_Cmd_wr(0xD41B); LCD_para_wr(0x6A); LCD_Cmd_wr(0xD41C); LCD_para_wr(0x02); LCD_Cmd_wr(0xD41D); LCD_para_wr(0x90); LCD_Cmd_wr(0xD41E); LCD_para_wr(0x02); LCD_Cmd_wr(0xD41F); LCD_para_wr(0xB5); LCD_Cmd_wr(0xD420); LCD_para_wr(0x02); LCD_Cmd_wr(0xD421); LCD_para_wr(0xCB); LCD_Cmd_wr(0xD422); LCD_para_wr(0x02); LCD_Cmd_wr(0xD423); LCD_para_wr(0xE2); LCD_Cmd_wr(0xD424); LCD_para_wr(0x02); LCD_Cmd_wr(0xD425); LCD_para_wr(0xF2); LCD_Cmd_wr(0xD426); LCD_para_wr(0x03); LCD_Cmd_wr(0xD427); LCD_para_wr(0x04); LCD_Cmd_wr(0xD428); LCD_para_wr(0x03); LCD_Cmd_wr(0xD429); LCD_para_wr(0x11); LCD_Cmd_wr(0xD42A); LCD_para_wr(0x03); LCD_Cmd_wr(0xD42B); LCD_para_wr(0x21); LCD_Cmd_wr(0xD42C); LCD_para_wr(0x03); LCD_Cmd_wr(0xD42D); LCD_para_wr(0x2D); LCD_Cmd_wr(0xD42E); LCD_para_wr(0x03); LCD_Cmd_wr(0xD42F); LCD_para_wr(0x3E); LCD_Cmd_wr(0xD430); LCD_para_wr(0x03); LCD_Cmd_wr(0xD431); LCD_para_wr(0x64); LCD_Cmd_wr(0xD432); LCD_para_wr(0x03); LCD_Cmd_wr(0xD433); LCD_para_wr(0xFE); LCD_Cmd_wr(0xD500); LCD_para_wr(0x00); LCD_Cmd_wr(0xD501); LCD_para_wr(0x00); LCD_Cmd_wr(0xD502); LCD_para_wr(0x00); LCD_Cmd_wr(0xD503); LCD_para_wr(0x01); LCD_Cmd_wr(0xD504); LCD_para_wr(0x00); LCD_Cmd_wr(0xD505); LCD_para_wr(0x15); LCD_Cmd_wr(0xD506); LCD_para_wr(0x00); LCD_Cmd_wr(0xD507); LCD_para_wr(0x3B); LCD_Cmd_wr(0xD508); LCD_para_wr(0x00); LCD_Cmd_wr(0xD509); LCD_para_wr(0x6C); LCD_Cmd_wr(0xD50A); LCD_para_wr(0x00); LCD_Cmd_wr(0xD50B); LCD_para_wr(0xC7); LCD_Cmd_wr(0xD50C); LCD_para_wr(0x01); LCD_Cmd_wr(0xD50D); LCD_para_wr(0x0D); LCD_Cmd_wr(0xD50E); LCD_para_wr(0x01); LCD_Cmd_wr(0xD50F); LCD_para_wr(0x61); LCD_Cmd_wr(0xD510); LCD_para_wr(0x01); LCD_Cmd_wr(0xD511); LCD_para_wr(0x94); LCD_Cmd_wr(0xD512); LCD_para_wr(0x01); LCD_Cmd_wr(0xD513); LCD_para_wr(0xD4); LCD_Cmd_wr(0xD514); LCD_para_wr(0x01); LCD_Cmd_wr(0xD515); LCD_para_wr(0xFF); LCD_Cmd_wr(0xD516); LCD_para_wr(0x02); LCD_Cmd_wr(0xD517); LCD_para_wr(0x3C); LCD_Cmd_wr(0xD518); LCD_para_wr(0x02); LCD_Cmd_wr(0xD519); LCD_para_wr(0x69); LCD_Cmd_wr(0xD51A); LCD_para_wr(0x02); LCD_Cmd_wr(0xD51B); LCD_para_wr(0x6A); LCD_Cmd_wr(0xD51C); LCD_para_wr(0x02); LCD_Cmd_wr(0xD51D); LCD_para_wr(0x90); LCD_Cmd_wr(0xD51E); LCD_para_wr(0x02); LCD_Cmd_wr(0xD51F); LCD_para_wr(0xB5); LCD_Cmd_wr(0xD520); LCD_para_wr(0x02); LCD_Cmd_wr(0xD521); LCD_para_wr(0xCB); LCD_Cmd_wr(0xD522); LCD_para_wr(0x02); LCD_Cmd_wr(0xD523); LCD_para_wr(0xE2); LCD_Cmd_wr(0xD524); LCD_para_wr(0x02); LCD_Cmd_wr(0xD525); LCD_para_wr(0xF2); LCD_Cmd_wr(0xD526); LCD_para_wr(0x03); LCD_Cmd_wr(0xD527); LCD_para_wr(0x04); LCD_Cmd_wr(0xD528); LCD_para_wr(0x03); LCD_Cmd_wr(0xD529); LCD_para_wr(0x11); LCD_Cmd_wr(0xD52A); LCD_para_wr(0x03); LCD_Cmd_wr(0xD52B); LCD_para_wr(0x21); LCD_Cmd_wr(0xD52C); LCD_para_wr(0x03); LCD_Cmd_wr(0xD52D); LCD_para_wr(0x2D); LCD_Cmd_wr(0xD52E); LCD_para_wr(0x03); LCD_Cmd_wr(0xD52F); LCD_para_wr(0x3E); LCD_Cmd_wr(0xD530); LCD_para_wr(0x03); LCD_Cmd_wr(0xD531); LCD_para_wr(0x64); LCD_Cmd_wr(0xD532); LCD_para_wr(0x03); LCD_Cmd_wr(0xD533); LCD_para_wr(0xFE); LCD_Cmd_wr(0xD600); LCD_para_wr(0x00); LCD_Cmd_wr(0xD601); LCD_para_wr(0x00); LCD_Cmd_wr(0xD602); LCD_para_wr(0x00); LCD_Cmd_wr(0xD603); LCD_para_wr(0x01); LCD_Cmd_wr(0xD604); LCD_para_wr(0x00); LCD_Cmd_wr(0xD605); LCD_para_wr(0x15); LCD_Cmd_wr(0xD606); LCD_para_wr(0x00); LCD_Cmd_wr(0xD607); LCD_para_wr(0x3B); LCD_Cmd_wr(0xD608); LCD_para_wr(0x00); LCD_Cmd_wr(0xD609); LCD_para_wr(0x6C); LCD_Cmd_wr(0xD60A); LCD_para_wr(0x00); LCD_Cmd_wr(0xD60B); LCD_para_wr(0xC7); LCD_Cmd_wr(0xD60C); LCD_para_wr(0x01); LCD_Cmd_wr(0xD60D); LCD_para_wr(0x0D); LCD_Cmd_wr(0xD60E); LCD_para_wr(0x01); LCD_Cmd_wr(0xD60F); LCD_para_wr(0x61); LCD_Cmd_wr(0xD610); LCD_para_wr(0x01); LCD_Cmd_wr(0xD611); LCD_para_wr(0x94); LCD_Cmd_wr(0xD612); LCD_para_wr(0x01); LCD_Cmd_wr(0xD613); LCD_para_wr(0xD4); LCD_Cmd_wr(0xD614); LCD_para_wr(0x01); LCD_Cmd_wr(0xD615); LCD_para_wr(0xFF); LCD_Cmd_wr(0xD616); LCD_para_wr(0x02); LCD_Cmd_wr(0xD617); LCD_para_wr(0x3C); LCD_Cmd_wr(0xD618); LCD_para_wr(0x02); LCD_Cmd_wr(0xD619); LCD_para_wr(0x69); LCD_Cmd_wr(0xD61A); LCD_para_wr(0x02); LCD_Cmd_wr(0xD61B); LCD_para_wr(0x6A); LCD_Cmd_wr(0xD61C); LCD_para_wr(0x02); LCD_Cmd_wr(0xD61D); LCD_para_wr(0x90); LCD_Cmd_wr(0xD61E); LCD_para_wr(0x02); LCD_Cmd_wr(0xD61F); LCD_para_wr(0xB5); LCD_Cmd_wr(0xD620); LCD_para_wr(0x02); LCD_Cmd_wr(0xD621); LCD_para_wr(0xCB); LCD_Cmd_wr(0xD622); LCD_para_wr(0x02); LCD_Cmd_wr(0xD623); LCD_para_wr(0xE2); LCD_Cmd_wr(0xD624); LCD_para_wr(0x02); LCD_Cmd_wr(0xD625); LCD_para_wr(0xF2); LCD_Cmd_wr(0xD626); LCD_para_wr(0x03); LCD_Cmd_wr(0xD627); LCD_para_wr(0x04); LCD_Cmd_wr(0xD628); LCD_para_wr(0x03); LCD_Cmd_wr(0xD629); LCD_para_wr(0x11); LCD_Cmd_wr(0xD62A); LCD_para_wr(0x03); LCD_Cmd_wr(0xD62B); LCD_para_wr(0x21); LCD_Cmd_wr(0xD62C); LCD_para_wr(0x03); LCD_Cmd_wr(0xD62D); LCD_para_wr(0x2D); LCD_Cmd_wr(0xD62E); LCD_para_wr(0x03); LCD_Cmd_wr(0xD62F); LCD_para_wr(0x3E); LCD_Cmd_wr(0xD630); LCD_para_wr(0x03); LCD_Cmd_wr(0xD631); LCD_para_wr(0x64); LCD_Cmd_wr(0xD632); LCD_para_wr(0x03); LCD_Cmd_wr(0xD633); LCD_para_wr(0xFE); LCD_Cmd_wr(0xF000); LCD_para_wr(0x55); LCD_Cmd_wr(0xF001); LCD_para_wr(0xAA); LCD_Cmd_wr(0xF002); LCD_para_wr(0x52); LCD_Cmd_wr(0xF003); LCD_para_wr(0x08); LCD_Cmd_wr(0xF004); LCD_para_wr(0x00); LCD_Cmd_wr(0xB400); LCD_para_wr(0x10); LCD_Cmd_wr(0xB500); LCD_para_wr(0x6B); LCD_Cmd_wr(0xB700); LCD_para_wr(0x77); LCD_Cmd_wr(0xB701); LCD_para_wr(0x77); LCD_Cmd_wr(0xB800); LCD_para_wr(0x01); LCD_Cmd_wr(0xB801); LCD_para_wr(0x03); LCD_Cmd_wr(0xB802); LCD_para_wr(0x03); LCD_Cmd_wr(0xB803); LCD_para_wr(0x03); LCD_Cmd_wr(0xBA00); LCD_para_wr(0x01); LCD_Cmd_wr(0xBC00); LCD_para_wr(0x00); LCD_Cmd_wr(0xBC01); LCD_para_wr(0x00); LCD_Cmd_wr(0xBC02); LCD_para_wr(0x00); LCD_Cmd_wr(0xCC00); LCD_para_wr(0x03); LCD_Cmd_wr(0xF000); LCD_para_wr(0x55); LCD_Cmd_wr(0xF001); LCD_para_wr(0xAA); LCD_Cmd_wr(0xF002); LCD_para_wr(0x52); LCD_Cmd_wr(0xF003); LCD_para_wr(0x08); LCD_Cmd_wr(0xF004); LCD_para_wr(0x02);这里估计有错,改为LCD_para_wr(0x00); LCD_Cmd_wr(0xF600); LCD_para_wr(0x60); LCD_Cmd_wr(0x3500); LCD_para_wr(0x00); LCD_Cmd_wr(0x3600); LCD_para_wr(0xA0); LCD_Cmd_wr(0x3A00); LCD_para_wr(0x55); LCD_Cmd_wr(0x1100); Delayms(120); LCD_Cmd_wr(0x2900); Delayms(100); ` |
|
相关推荐
10个回答
|
|
无量寿福,,,
|
|
|
|
|
|
|
|
什么东西呀
|
|
|
|
|
|
|
|
这个是RM68180+BOE5.0的屏,我看36应该不对,55 AA 52 08 02这个是写PGAE的没有问题。page0里少了个B1,B6
|
|
|
|
36我后面改成了00,少了B1,b6好像没关系,其实最主要的是在写坐标的时候,写命令写数据要给一个地址在给一个数据,不能默认它命令会自动加1,我是看厂家配置里都是一个命令一个数据想到的 |
|
|
|
|
|
|
|
没用过,这是8080 接口,fsmc ,液晶驱动原理差不多,慢慢调 |
|
|
|
看看,学习了, 能自己解决问题,很有成就感。。。
|
|
|
|
楼主,最近在调ST7735S驱动的液晶,初始化时写一个命令加多个数据,然后是花屏。
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
1980 浏览 1 评论
AD7686芯片不传输数据给STM32,但是手按住就会有数据。
1836 浏览 3 评论
4416 浏览 0 评论
如何解决MPU-9250与STM32通讯时,出现HAL_ERROR = 0x01U
1985 浏览 1 评论
hal库中i2c卡死在HAL_I2C_Master_Transmit
2489 浏览 1 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-19 08:06 , Processed in 0.846818 second(s), Total 95, Slave 76 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号