#include
sbit led0 = P2^6; //要操控的LED灯
sbit led1 = P2^1;
sbit led2 = P2^2;
sbit led3 = P2^3;
sbit led4 = P2^4;
sbit led5 = P2^5;
sbit K0= P3^2;
sbit K1= P3^3;//界说io口
void main(void)
includesbitled0=P2^6;要控制的LED灯sbitled1=P2^1;sbitled2=P2^2;sbitled3=P2^3;sbitled4=P2^4;sbi
#include
sbit led0 = P2^6; //要操控的LED灯
sbit led1 = P2^1;
sbit led2 = P2^2;
sbit led3 = P2^3;
sbit led4 = P2^4;
sbit led5 = P2^5;
sbit K0= P3^2;
sbit K1= P3^3;//界说io口
void main(void)