#define A_KEY (!(P3_0)) //财大站
#define B_KEY (!(P3_1)) //大学城站
#define C_KEY (!(P3_2)) //电院站
#define D_KEY (!(P3_3)) // 蚌院站
#define E_KEY (!(P3_4))
#define F_KEY (!(P3_5))
#endif#include <At89x52.h>
#include <stdio.h>
#include <string.h>
#include "lcd.h"
typedef struct typFNT_Char //------字符字模显示数据结构------
{
char Index_Char[1];
char Msk_Char[16];本文来自辣.文,论-文·网原文请找腾讯752018766
};
struct typFNT_Char code ASC_16[] = {//-----显示为8*16-----
// MingLiu体
"0",0x00,0xF0,0x08,0x04,0xC4,0x28,0xF0,0x00,0x00,0x0F,0x14,0x23,0x20,0x10,0x0F,0x00, // 改过
"1",0x00,0x00,0x00,0x08,0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x3F,0x20,0x00,0x00,
"2",0x00,0x18,0x04,0x04,0x04,0x88,0x70,0x00,0x00,0x30,0x28,0x24,0x22,0x21,0x30,0x00,
"3",0x00,0x08,0x04,0x84,0xC4,0x38,0x00,0x00,0x00,0x20,0x20,0x20,0x20,0x11,0x0E,0x00,
"4",0x00,0x00,0x80,0x60,0x18,0xFC,0x00,0x00,0x00,0x06,0x05,0x04,0x04,0x3F,0x04,0x00,
"5",0x00,0x00,0x7C,0x44,0x44,0x84,0x04,0x00,0x00,0x20,0x20,0x20,0x20,0x10,0x0F,0x00,
"6",0x00,0xE0,0x90,0x48,0x44,0x84,0x04,0x00,0x00,0x0F,0x10,0x20,0x20,0x10,0x0F,0x00,
"7",0x00,0x1C,0x04,0x04,0x04,0xE4,0x1C,0x00,0x00,0x00,0x00,0x38,0x07,0x00,0x00,0x00,
"8",0x00,0x30,0x48,0x84,0x84,0x48,0x30,0x00,0x00,0x0E,0x11,0x20,0x20,0x11,0x0E,0x00,
"9",0x00,0xF0,0x08,0x04,0x04,0x08,0xF0,0x00,0x00,0x20,0x21,0x22,0x12,0x09,0x07,0x00,
":",0x00,0x00,0x00,0x60,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x0C,0x0C,0x00,0x00,0x00, // 改过
"h",0x08,0xF8,0x00,0x80,0x80,0x80,0x00,0x00,0x20,0x3F,0x21,0x00,0x00,0x20,0x3F,0x20,/*"h",时*/
论文范文http://www.chuibin.com/ "m",0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x00,0x20,0x3F,0x20,0x00,0x3F,0x20,0x00,0x3F,/*"m",分*/
"s",0x00,0x00,0x80,0x80,0x80,0x80,0x80,0x00,0x00,0x33,0x24,0x24,0x24,0x24,0x19,0x00,/*"s",秒*/ };
typedef struct ty论文范文http://www.chuibin.com/ pFNT_GB16 //------字符字模显示数据结构------