资源描述:
《LED点阵屏程序》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、#include#include#include#defineucharunsignedchar#defineuintunsignedint#definePAXBYTE[0x0000]#definePBXBYTE[0x0001]#definePCXBYTE[0x0002]#defineCOMXBYTE[0x0003]sbitSwitch_74LS154=P3^0;uchardataRow_Data[32];ucharcodeWord_Set_OF_16x16[320]
2、={/*海CBAA3*/0x10,0x60,0x02,0x0C,0xC0,0x10,0x08,0xF7,0x14,0x54,0x94,0x14,0xF4,0x04,0x00,0x00,0x04,0x04,0x7C,0x03,0x00,0x01,0x1D,0x13,0x11,0x55,0x99,0x51,0x3F,0x11,0x01,0x00,/*上CC9CF*/0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x40,0x40,0x40,0x40,0x40,0x40,0x00,0x00,0x00,0x40
3、,0x40,0x40,0x40,0x40,0x40,0x7F,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x00,/*生CC9FA*/0x80,0x40,0x30,0x1E,0x10,0x10,0x10,0xFF,0x10,0x10,0x10,0x10,0x10,0x10,0x00,0x00,0x40,0x40,0x42,0x42,0x42,0x42,0x42,0x7F,0x42,0x42,0x42,0x42,0x42,0x40,0x40,0x00,/*明CC3F7*/0x00,0xFC,
4、0x44,0x44,0x44,0xFC,0x00,0x00,0xFE,0x22,0x22,0x22,0x22,0xFE,0x00,0x00,0x00,0x0F,0x04,0x04,0x04,0x8F,0x40,0x30,0x0F,0x02,0x02,0x42,0x82,0x7F,0x00,0x00,/*月CD4C2*/0x00,0x00,0x00,0xFE,0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22,0xFE,0x00,0x00,0x00,0x80,0x40,0x30,0x0F,0x02,0
5、x02,0x02,0x02,0x02,0x02,0x42,0x82,0x7F,0x00,0x00,0x00,/*天CCCEC*/0x40,0x40,0x42,0x42,0x42,0x42,0x42,0xFE,0x42,0x42,0x42,0x42,0x42,0x40,0x40,0x00,0x80,0x80,0x40,0x20,0x10,0x0C,0x03,0x00,0x03,0x0C,0x10,0x20,0x40,0x80,0x80,0x00,/*涯CD1C4*/0x10,0x60,0x02,0x8C,0x00,0xFE,0x
6、82,0x92,0x92,0x92,0xFE,0x92,0x92,0x92,0x82,0x00,0x04,0x04,0x7E,0x81,0x60,0x1F,0x40,0x48,0x48,0x48,0x7E,0x48,0x48,0x48,0x40,0x00,/*共CB9B2*/0x00,0x00,0x10,0x10,0x10,0xFF,0x10,0x10,0x10,0x10,0xFF,0x10,0x10,0x10,0x00,0x00,0x00,0x04,0x84,0x44,0x24,0x17,0x04,0x04,0x04,0x0
7、4,0x17,0x24,0x44,0x84,0x04,0x00,/*此CB4CB*/0x00,0x00,0xF8,0x00,0x00,0xFF,0x20,0x20,0x00,0xFF,0x40,0x20,0x10,0x08,0x00,0x00,0x20,0x60,0x3F,0x20,0x10,0x1F,0x10,0x10,0x00,0x3F,0x40,0x40,0x40,0x40,0x78,0x00,/*时CCAB1*/0x00,0xFC,0x84,0x84,0x84,0xFC,0x00,0x10,0x10,0x10,0x10
8、,0x10,0xFF,0x10,0x10,0x00,0x00,0x3F,0x10,0x10,0x10,0x3F,0x00,0x00,0x01,0x06,0x40,0x80,0x7F,0x00,0x00,0x00};voidDelay(uintk){uchari;while(k