单片机4*4按键数码管显示0-9

  单片机4*4按键数码管显示0-9   #include<reg51.h> #define KEY P1 //键盘 #define SEG P0 //数码管 sbit COM=P2^0; // 数码管com sbit OC = P2^1;//573锁存器 char code TAB[]={//0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x
相关文章
相关标签/搜索