8位数码管矩阵键盘c语言程序,51单片机STC89C52 矩阵键盘数码管显示
WELA BIT P2.7DULA BIT P2.6DIOLA BIT P2.5FM BIT P2.3ORG 0000HSETB DIOLAMOV SP,#0E0HLOOP0:LCALL key_ScanJZ LOOP0LCALL DELAY20MSLCALL key_ScanJZ LOOP0MOV P1,ALCALL SmgHERE0:LCALL key_Scan ;等待按键释放JZ LOOP0...