都是显示行列式键号,一个是:按下任意按键后,数码管上显示该键的键号(0-F一位数码管显示),另一个是:按下任意按键后,数码管上显示该键的键号(00-15两位数码管显示) #include charled_mod[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07, //led字模 0x7f,0x6f,0x77,0x7c,0x58,0x5e,0x79,0x71}; charkey_buf[]={0xee,0xde,0xbe,0x7e,0xed,0xdd,0xbd,0x7d,//键值 0