资源描述:
《铁路自动售票机.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、#include#include#defineuiunsignedint#defineucunsignedcharsbitE=P3^0;sbitRS=P3^1;sbitRW=P1^0;sbitCS2=P3^2;sbitCS1=P3^3;sbitSB4=P3^4;sbitSB3=P3^5;sbitSB2=P3^6;sbitSB1=P3^7;uicodezi_mo[]={/*--文字:地--*//*--宋体12;此字体下对应的点阵为:宽x高=16x16-1-*/0x20,0x20,0x
2、20,0xFF,0x20,0x20,0x80,0xF8,0x80,0x40,0xFF,0x20,0x10,0xF0,0x00,0x00,0x10,0x30,0x10,0x0F,0x08,0x08,0x00,0x3F,0x40,0x40,0x5F,0x42,0x44,0x43,0x78,0x00,/*--文字:铁--*//*--宋体12;此字体下对应的点阵为:宽x高=16x16-2-*/0x20,0x10,0x2C,0xE7,0x24,0x24,0x40,0x3C,0x10,0x10,0xFF,0x10,0x10,0x10
3、,0x00,0x00,0x01,0x01,0x01,0x7F,0x21,0x11,0x80,0x41,0x31,0x0D,0x03,0x0D,0x31,0x41,0x81,0x00,/*--文字:自--*//*--宋体12;此字体下对应的点阵为:宽x高=16x16-3-*/0x00,0x00,0x00,0xF8,0x88,0x8C,0x8A,0x89,0x88,0x88,0x88,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x44,0x44,0x44,0x44,0x44,0
4、x44,0x44,0xFF,0x00,0x00,0x00,0x00,/*--文字:动--*//*--宋体12;此字体下对应的点阵为:宽x高=16x16-4-*/0x40,0x44,0xC4,0x44,0x44,0x44,0x40,0x10,0x10,0xFF,0x10,0x10,0x10,0xF0,0x00,0x00,0x10,0x3C,0x13,0x10,0x14,0xB8,0x40,0x30,0x0E,0x01,0x40,0x80,0x40,0x3F,0x00,0x00,/*--文字:售--*//*--宋体12;此字
5、体下对应的点阵为:宽x高=16x16-5-*/0x20,0x10,0x08,0xFC,0x57,0x54,0x54,0x55,0xFE,0x54,0x54,0x54,0x54,0x04,0x00,0x00,0x00,0x00,0x00,0xFB,0x49,0x49,0x49,0x49,0x49,0x49,0x49,0x49,0xF9,0x01,0x00,0x00,/*--文字:票--*//*--宋体12;此字体下对应的点阵为:宽x高=16x16-6-*/0x00,0x02,0x7A,0x4A,0x4A,0x7E,0x4A
6、,0x4A,0x4A,0x7E,0x4A,0x4A,0x7A,0x02,0x00,0x00,0x04,0x44,0x25,0x15,0x05,0x45,0x85,0x7D,0x05,0x05,0x05,0x15,0x25,0x44,0x04,0x00,/*--文字:系--*//*--宋体12;此字体下对应的点阵为:宽x高=16x16-7-*/0x00,0x00,0x22,0x32,0x2A,0xA6,0xA2,0x62,0x21,0x11,0x09,0x81,0x01,0x00,0x00,0x00,0x00,0x42,0
7、x22,0x13,0x0B,0x42,0x82,0x7E,0x02,0x02,0x0A,0x12,0x23,0x46,0x00,0x00,/*--文字:统--*//*--宋体12;此字体下对应的点阵为:宽x高=16x16-8-*/0x20,0x30,0xAC,0x63,0x30,0x00,0x88,0xC8,0xA8,0x99,0x8E,0x88,0xA8,0xC8,0x88,0x00,0x22,0x67,0x22,0x12,0x12,0x80,0x40,0x30,0x0F,0x00,0x00,0x3F,0x40,0x4
8、0,0x71,0x00,/*--文字:初--*//*--宋体12;此字体下对应的点阵为:宽x高=16x16-9-*/0x08,0x08,0x89,0xEA,0x18,0x88,0x00,0x04,0x04,0xFC,0x04,0x04,0x04,0xFC,0x00,0x00,0x02,0x01,0x00,0xFF,0