2022年点阵程序 .pdf
《2022年点阵程序 .pdf》由会员分享,可在线阅读,更多相关《2022年点阵程序 .pdf(7页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、#include #define FOSC 12 /定义晶振频率#define INIT_TH0 0 x3C /定时器 T0 初始值#define INIT_TL0 0 xB0 #define TMOD_T00 0 x00 /定义 T0 为方式 0,GATE=0,C/T=0,13 位计数器#define TMOD_T01 0 x01 /定义 T0 为方式 1,GATE=0,C/T=0,16 位计数器#define TMOD_T02 0 x02 /定义 T0 为方式 2,GATE=0,C/T=0, 自动装入 8 位计数器#define TMOD_T03 0 x03 /定义 T0 为方式 3,GA
2、TE=0,C/T=0 ,定时器0 分成两个 8 位计数器,定时器1 停止计数/*缩定定义 */ #define uchar unsigned char #define uint unsigned int /*P1 口位定义 */ /*P2 BIT Define*/ /*P3 bit define*/ /*位定义 */ sbit STTP = P27; /*函数声明 */ void delay(uint c); /延时函数void out_rxd(uchar *d); /汉字输出/*汉字点阵 */ char code hanzi3232= /*- 文字 : 大-*/ /*- 宋体 12; 此字体
3、下对应的点阵为:宽x 高=16x16 -*/ 0 x04,0 x00,0 x04,0 x01,0 x04,0 x02,0 x04,0 x04,0 x04,0 x08,0 x04,0 x30,0 x05,0 xC0,0 xFE,0 x00, 0 x05,0 x80,0 x04,0 x60,0 x04,0 x10,0 x04,0 x0C,0 x04,0 x06,0 x04,0 x03,0 x04,0 x02,0 x00,0 x00, 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 1 页
4、,共 7 页 - - - - - - - - - /*- 文字 : 家-*/ /*- 宋体 12; 此字体下对应的点阵为:宽x 高=16x16 -*/ 0 x00,0 x00,0 x18,0 x94,0 x20,0 x94,0 x28,0 xA8,0 x29,0 x28,0 x29,0 x52,0 xAB,0 x91,0 x6D,0 x22, 0 x28,0 xFC,0 x28,0 x60,0 x29,0 x90,0 x20,0 x90,0 x28,0 x08,0 x30,0 x0C,0 x20,0 x08,0 x00,0 x00, /*- 文字 : 记-*/ /*- 宋体 12; 此字体下对
5、应的点阵为:宽x 高=16x16 -*/ 0 x02,0 x00,0 x82,0 x00,0 x72,0 x00,0 x23,0 xFE,0 x00,0 x04,0 x00,0 x08,0 x00,0 x00,0 x43,0 xFC, 0 x42,0 x02,0 x42,0 x02,0 x42,0 x02,0 x42,0 x02,0 x42,0 x02,0 x7E,0 x1E,0 x00,0 x04,0 x00,0 x00,/*- 文字 : 住-*/ /*- 宋体 12; 此字体下对应的点阵为:宽x 高=16x16 -*/ 0 x02,0 x00,0 x04,0 x00,0 x0F,0 xFE
6、,0 x30,0 x00,0 xC0,0 x04,0 x10,0 x84,0 x10,0 x84,0 x90,0 x84, 0 x50,0 x84,0 x3F,0 xFC,0 x10,0 x84,0 x10,0 x84,0 x31,0 x84,0 x10,0 x8C,0 x00,0 x04,0 x00,0 x00, 0 x00,0 x00,0 x08,0 x00,0 x30,0 x00,0 x60,0 x00,0 x08,0 x00,0 x30,0 x00,0 x60,0 x00,0 x00,0 x00,/ /*- 文字 : 六-*/ /*- 宋体 12; 此字体下对应的点阵为:宽x 高=16
7、x16 -*/ 0 x08,0 x00,0 x08,0 x02,0 x08,0 x04,0 x08,0 x08,0 x08,0 x30,0 x89,0 xC0,0 x48,0 x80,0 x78,0 x00, 0 x29,0 x00,0 x08,0 x80,0 x08,0 x40,0 x08,0 x30,0 x08,0 x1E,0 x08,0 x0C,0 x08,0 x00,0 x00,0 x00, /*- 文字 : 四-*/ /*- 宋体 12; 此字体下对应的点阵为:宽x 高=16x16 -*/ 0 x00,0 x00,0 x7F,0 xFE,0 x40,0 x14,0 x40,0 x24
8、,0 x40,0 xC4,0 x7F,0 x04,0 x40,0 x04,0 x40,0 x04, 0 x7F,0 x84,0 x40,0 x44,0 x40,0 x44,0 x40,0 x44,0 x40,0 x44,0 x7F,0 xFE,0 x00,0 x00,0 x00,0 x00, 0 x00,0 x00,0 x08,0 x00,0 x30,0 x00,0 x60,0 x00,0 x08,0 x00,0 x30,0 x00,0 x60,0 x00,0 x00,0 x00,/ /*- 文字 : 是-*/ /*- 宋体 12; 此字体下对应的点阵为:宽x 高=16x16 -*/ 名师资料
9、总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 2 页,共 7 页 - - - - - - - - - 0 x01,0 x00,0 x01,0 x02,0 x01,0 x04,0 x01,0 x08,0 x7D,0 x70,0 x55,0 x08,0 x55,0 x04,0 x55,0 xFC, 0 x55,0 x22,0 x55,0 x22,0 x55,0 x22,0 x7D,0 x22,0 x01,0 x22,0 x01,0 x02,0 x01,0 x02,0 x00,0 x00, /*
10、- 文字 : 爱-*/ /*- 宋体 12; 此字体下对应的点阵为:宽x 高=16x16 -*/ 0 x00,0 x02,0 x02,0 x04,0 x4D,0 x05,0 x69,0 x09,0 x59,0 x32,0 x49,0 xE2,0 x6F,0 x54,0 x59,0 x54, 0 xC9,0 x48,0 x89,0 x58,0 x99,0 x64,0 xE9,0 x44,0 x89,0 x02,0 x09,0 x03,0 x0C,0 x02,0 x00,0 x00, /*- 文字 : 国-*/ /*- 宋体 12; 此字体下对应的点阵为:宽x 高=16x16 -*/ 0 x00,
11、0 x00,0 x7F,0 xFF,0 x40,0 x02,0 x50,0 x12,0 x51,0 x12,0 x51,0 x12,0 x51,0 x12,0 x5F,0 xF2, 0 x51,0 x12,0 x51,0 x92,0 x51,0 x72,0 x50,0 x12,0 x40,0 x02,0 x7F,0 xFF,0 x00,0 x00,0 x00,0 x00, 0 x00,0 x00,0 x00,0 x00,0 x7F,0 xFF,0 x49,0 x02,0 x49,0 x04,0 x49,0 x08,0 x49,0 x00,0 x4F,0 x00, 0 x49,0 xC0,0 x
12、49,0 x30,0 x49,0 x08,0 x79,0 x04,0 x01,0 x02,0 x01,0 x0F,0 x00,0 x00,0 x00,0 x00,/民0 x00,0 x00,0 x00,0 x04,0 x08,0 x84,0 x08,0 x84,0 x08,0 x84,0 x08,0 x84,0 x88,0 x84,0 x6F,0 xFC, 0 x48,0 x84,0 x08,0 x84,0 x08,0 x84,0 x08,0 x84,0 x19,0 x84,0 x08,0 x8C,0 x00,0 x04,0 x00,0 x00,/主/*- 文字 : 运-*/ /*- 宋体 1
13、2; 此字体下对应的点阵为:宽x 高=16x16 -*/ 0 x02,0 x02,0 x82,0 x04,0 x73,0 xF8,0 x20,0 x04,0 x00,0 x14,0 x04,0 x32,0 x44,0 x52,0 x45,0 x92, 0 x46,0 x12,0 x44,0 x32,0 x45,0 x22,0 x44,0 xA2,0 x44,0 x7A,0 x44,0 x32,0 x04,0 x02,0 x00,0 x00, /*- 文字 : 动-*/ /*- 宋体 12; 此字体下对应的点阵为:宽x 高 =16x16 -*/ 0 x04,0 x10,0 x24,0 x38,0
14、 x24,0 xD0,0 x27,0 x10,0 x24,0 x30,0 x24,0 xA0,0 x24,0 x72,0 x04,0 x24, 0 x08,0 x08,0 x08,0 x30,0 xFF,0 xC0,0 x08,0 x04,0 x08,0 x02,0 x0F,0 xFC,0 x00,0 x00,0 x00,0 x00, 0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,0 x0C,0 x1F,0 xCC,0 x00,0 x00,0 x00,0 x00,0 x00,0 x00,/! 名师资料总结 - - -精品资料欢迎下载 - - - - - -
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 2022年点阵程序 2022 点阵 程序
限制150内