按鍵控制LED
#define unchar unsigned char
sbit k1=P3^0;
sbit k2=P3^1;
sbit k3=P3^2;
sbit k4=P3^3;
sbit k5=P3^4;
sbit k6=P3^5;
sbit k7=P3^6;
sbit k8=P3^7;
unchar spyon();
unchar led,a,b;
static unchar flag=0;
void zhma();
void
void
void
void
void quanliang();
void delay();
void main()
{
}
}
unchar spyon()
{
void zhma()
{
}
void
{
}
void
{
}
void
{
void delay()
{
評論