#include
sbit k1=P3^0;
sbit k2=P3^1;
char tab[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x02,0xf8,0x00,0x10};
void delay(int x)
{
}
void main()
{
}
includereg51h>sbitk1=P3^0;p30定义为第一个按键sbitk2=P3^1;p31定义为第二个按键chartab[]={0xc0,0xf9,0xa4,0xb0,0x99,0
#include
sbit k1=P3^0;
sbit k2=P3^1;
char tab[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x02,0xf8,0x00,0x10};
void delay(int x)
{
}
void main()
{
}