LCD12864显示程序(成功版).docx
《LCD12864显示程序(成功版).docx》由会员分享,可在线阅读,更多相关《LCD12864显示程序(成功版).docx(14页珍藏版)》请在第壹文秘上搜索。
1、WicludeWincludedefineuitunsignedit#defineucharunsignedchar一定时运用的IO口WdefineDATA_P0RTPOSbit1.CD1286CS=P32;sbit1.CD1286RSET=P33;Sbit1.CD12864.RS=P26;SbitICD12864.RW=P27;sbit1.CD1286RD-P25;定义全同函数void1.CdSt7565_WriteCmd(Cmd);void1.cdSt7565.WriteData(dat);void1.cdl2864JnrM);void1.cdl2864-ClearScreen(void)
2、;void1.cdl2864_Writel6CnCHAR(ucharx,uchary.uchark);voidDelay10ms(unsignedintc);unsignedcharcodetable401132-文字:-V-宋体12;此字体下对应的点阵为:窕X高=16x16-/0x00,0x00,0x00,0x00,0x00,0x00z0x00z0x00z0x00,0x00,0x00,0x00,000i000,0x00f000,0x00,0x00,0x00,0x,0x,0xz0x00z0x00z0x00,0x00,0xl8,0x24.0x24,0xl8,0x,0x,八一文字:椰-7/一宋体1
3、2;此字体下对应的点阵为:宽X高=16x16-/0x00,0x06,0xDA,0x22,0x02r0xFEz0x20z0x26,0x28,0x34,0x24,0x7Fz0xA4,0x24z0x24z0x20z0xO0,Ox07.0x08.0xl0,0xO8,0xFFr0xr0xr0xFFz0x49z0x49z0x49,0x49,OFF,OxO2,OxO4,/一文字:第一/宋体12;此字体下对应的点阵为:宽Xr=16xl6T0x00,0x00,0x00,OxOOrOx7QOxS4,Ox54,Ox54,Ox54,0x55,0x56,Ox54rOx7CzOxOOzOxOO,OxOO,0x00,0x4
4、0,041,049r0x49r0x49z0x49z0x49z07F,049f049r0x49r0x49z0x49z0x40x40,文字;满-7F-宋体12;此字体下时应的点阵为:宽X高=16x16-*/0x00,024,024,02F,0E4z0x24z0x24,0E4z0x2F,0x24,0x24,0x,0x8Cz0x02,0x60,0x10,OxOO,Ox7F,Ox91zOx49zOxOOx09,Oxl9,Ox07,Ox09,0ll,0FROxOO,Ox01,07EfO04,Ox04,/-文字:柳T/*-宋体12;此字体下对应的点阵为:窕xl=16xl6-/OO0,0FC,0xO4,0O4
5、,OxFC,0xO0,0xF8,0x02,0x04,0xFC,OxlO,0x9O,0xFF,0xD0,Oxl0,Oxl0,0x00,0x07,0x08,0x04,OxFF,OxOO,OxOF,Ox32,Ox44,Ox8EOx01zOxOOzOxFxOO,Ox03,Ox04,/*-文字:烟T/-宋体12;此字体下对应的点阵为:,Xi=16xl6-/0xO0,0xFE,0x42,0x42z0x42z0xFA,0x42z0x42z0x42z0xFE,Ox08,Oxl0,0xFF,Ox,0x70,0x80z0x00,0xFF,0x40,0x4C,0x42,0x41,0x46,0x48,0x50,0xF
6、F,0xl0,0x08,0x07,0xl8,0x60,0x80,/-文字:胜T/*-宋体12;此字体下对应的点阵为:宽X高=16x16-/OxOO,Ox,OxlO.OxlO,OxlO,OxFF,OxlO,OxlO,Ox3C,Ox40,OxOO,OxFE,Ox22,Ox22,OxFE,OxOO,000,0x40,0x42,0x42,0x42,0x7F,042,0x42,0x42,0x40,0x,0xFF,0x82,0x02,0x7F.0x80,/*-文字:绝-Y/-宋体12;此字体下对应的点阵为:宽X高*16x16-/OxOO,OxOO,OxEO,Ox2C,Ox34,OxE4,Ox24,Ox27
7、,OxE8,OxlO,Ox20,OxlO,Ox63,OxAC,Ox30,Ox2D,0x00,0x70,0x43,0x42,0x42,0x43,0x42,0x42,0x3F,0x,0x00,0x12,0x12,0x22,0x67,0x22,/*-文字:,-T/-宋体12;此字体下对应的点阵为:xl=16xl6-/OxoOQXOo,0x00,0x00,0x00,0x00,0x00,0x00,0x0OQxoO,000,OxoO,0x00,0x00QXOO,0x00,0x00,0x,0x,0x00,0x,0x,0x,0x00,0x00,0x00,0x00,0x,0x38,0x58,0x,0x,/*-文
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- LCD12864 显示 程序 成功