• 大小: 71KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-11
  • 语言: 其他
  • 标签: LCD12864  

资源简介

LCD12864汉字显示原理图及程序,已经调试过了。

资源截图

代码片段和文件信息

#include 
#define RS RD2    
#define CS2 RD1    
#define CS1 RD0    
#define E RD4    
#define RW RD3    
#define BUSY RD7 
#define BUSY_IO  TRISC7
#define Lcd_IO     PORTC     //数据线接PORTD
#define SetLcd_IO  TRISC   //由于数据线是双向传输,所以要定义控制

#define uchar unsigned char;
#define uint  unsigned int;
const unsigned char tab2[]={

/*--  文字:  福  --*/
/*--  宋体12;  此字体下对应的点阵为:宽x高=16x16   --*/
0x080x080x890xCE0x280x180x020x7A0x4A0x4A0x4A0x4A0x4A0x7A0x020x00
0x020x010x000xFF0x010x020xFF0x490x490x490x7F0x490x490x490xFF0x00

/*--  文字:  建  --*/
/*--  宋体12;  此字体下对应的点阵为:宽x高=16x16   --*/
0x000x420x620x5A0xC60x100x540x540x540xFF0x540x540x7C0x100x100x00
0x400x230x140x080x170x280x290x490x490x7F0x490x490x490x490x400x00

/*--  文字:  师  --*/
/*--  宋体12;  此字体下对应的点阵为:宽x高=16x16   --*/
0x000xF80x200x100xFE0x040xE60x240x240x240xFC0x240x240x240xE40x00
0x000x4F0x200x180x070x000x1F0x000x000x000x7F0x000x080x100x0F0x00

/*--  文字:  范  --*/
/*--  宋体12;  此字体下对应的点阵为:宽x高=16x16   --*/
0x440xD40xA40x740x0C0x0F0x060xE40x240x2C0x2F0x240xE40x040x040x00
0x080x090xF80x040x030x000x000x3F0x400x400x420x460x430x700x000x00

/*--  文字:  大  --*/
/*--  宋体12;  此字体下对应的点阵为:宽x高=16x16   --*/
0x200x600x200x300x280x240xA20x7F0xA00x200x200x200x200x200x200x00
0x000x800x400x200x100x0C0x030x000x010x060x080x300x600xC00x400x00

/*--  文字:  学  --*/
/*--  宋体12;  此字体下对应的点阵为:宽x高=16x16   --*/
0x000xC00x600x300x280xB40xA20xA00xA80xB00xA00xA00x300x2C0xE00x00
0x000x000x000x000x040x040x040x240x440x7E0x050x040x040x040x000x00

/*--  文字:  ,  --*/
/*--  宋体12;  此字体下对应的点阵为:宽x高=16x16   --*/
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x580x380x000x000x000x000x000x000x000x000x000x000x000x00

/*--  文字:  环  --*/
/*--  宋体12;  此字体下对应的点阵为:宽x高=16x16   --*/
0x000x220x220xFE0x220x220x000x020xC20x320xFE0x420x820x020x020x00
0x000x040x040x030x120x0A0x040x030x000x000xFF0x000x000x030x0E0x00

/*--  文字:  境  --*/
/*--  宋体12;  此字体下对应的点阵为:宽x高=16x16   --*/
0x200x200xFE0x200x200x000x240xAC0xB40xA50xA60xB40xAC0x240x000x00
0x100x300x1F0x080x080x000x800x4F0x3A0x0A0x0A0x7A0x8F0x800xE00x00

/*--  文字:  优  --*/
/*--  宋体12;  此字体下对应的点阵为:宽x高=16x16   --*/
0x400x200xF80x170x020x100x100xF00x1F0xF00x120x1C0x140x100x000x00
0x000x000xFF0x000x400x200x180x070x000x3F0x400x400x400x780x200x00

/*--  文字:  美  --*/
/*--  宋体12;  此字体下对应的点阵为:宽x高=16x16   --*/
0x000x840x840x940x950x960x940xFC0x940x960x950x940x940x840x800x00
0x800x800x440x440x240x140x0C0x070x0C0x140x240x640xC40x440x000x00

/*--  文字:  ,  --*/
/*--  宋体12;  此字体下对应的点阵为:宽x高=16x16   --*/
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      10167  2010-04-06 16:37  12864\123.cof

     文件       7398  2010-04-06 16:37  12864\123.hex

     文件       3601  2010-04-06 16:37  12864\123.hxl

     文件        169  2010-04-06 16:37  12864\123.lde

     文件      10031  2010-04-06 16:37  12864\123.map

     文件       1101  2010-04-01 08:46  12864\123.mcp

     文件        259  2010-04-06 16:44  12864\123.mcs

     文件      31744  2010-04-06 16:44  12864\123.mcw

     文件       5999  2010-04-06 16:37  12864\123.sym

     文件      81958  2010-04-02 17:33  12864\Last Loaded lcdyejingxianshi.DBK

     文件      13081  2010-04-06 16:37  12864\lcdyejingxianshi.c

     文件        416  2010-04-06 16:37  12864\lcdyejingxianshi.cce

     文件      81958  2010-04-06 16:44  12864\lcdyejingxianshi.DSN

     文件      81198  2010-04-06 16:37  12864\lcdyejingxianshi.lst

     文件       8476  2010-04-06 16:37  12864\lcdyejingxianshi.obj

     文件       1705  2010-04-06 16:44  12864\lcdyejingxianshi.PWI

     文件     115250  2010-04-06 16:37  12864\lcdyejingxianshi.rlf

     文件      15763  2010-04-06 16:37  12864\lcdyejingxianshi.sdb

     目录          0  2010-04-06 16:44  12864

----------- ---------  ---------- -----  ----

               470274                    19


评论

共有 条评论