12864液晶显示 12864液晶显示中文字库 #include #include #include #include unsigned char code IC_DAT[]; unsigned char code pic1[]; unsigned char code pic2[]; unsigned char code pic3[]; sbit RS =P2^4; sbit WRD=P2^5; sbit E= P2^6; sbit PSB=P2^1; sbit RES=P2^3; void TransferData(char data1,bit DI); void display(void); void display_grapic(void); void delayms(unsigned int n); void DisplayLine(unsigned char line1,unsigned char line2); void DisplayGraphic(unsigned char code *adder); void delay(unsigned int m); void lcd_mesg(unsigned char code *adder1); unsigned char code IC_DAT[]={ " 电子产品世界 " " 我喜欢DIY " " www.EEPW.COM.CN" " 2012年心想事成 " }; unsigned char code IC_DAT2[]={ " 一寸光阴一寸金 " " 寸金难买寸光阴 " " 有志者事竟成 " " 万事如意恭喜发财" }; void initina……