(本站为飞网专业下载站,域名:down.cfei.net)
资源简介:
st7920液晶驱动源程序:#include#define uchar unsigned char#define uint unsigned intsbit en=P2^2; //使能端sbit rw=P2^1; //H读 L写sbit rs=P2^0; //寄存器选择端 H数据 L指令uchar code table[]={"相见时难别亦难,"};uchar code table0[]={"东风无力百花残."}; uchar code table1[]={"春蚕到死丝方尽,"}; uchar code table2[]={"蜡炬成灰泪始干."};uchar code table3[]={"晓镜但愁云鬓改,"};uchar code table4[]={"夜吟应觉月光寒."}; uchar code table5[]={"蓬山此去无多路,"}; uchar code table6[]={"青鸟殷勤为探看."};void delay(uint k){ uint i,j; for(i=0;i
飞网下载站,免费下载共享资料,内容涉及教育资源、专业资料、IT资源、娱乐生活、经济管理、办公文书、游戏资料等。