嵌入式c语言51单片机项目sbitkey1=P3^0; sbitkey2=P3^1; sbitkey3=P3^2; sbitduan_1=P2^0; //虽然声明是duan但是其实是用来位选的 sbitduan_2=P2^1; sbitduan_3=P2^2; sbitduan_4=P2^3; sbitduan_5=P2^4; sbitduan_6=P2^5; sbithuxiled=P2^6; //呼吸灯 sbitNzLed=P3^3; //D2灯用来指示设置的闹钟时间到 ucharshijian[11]={0xc0,0xf9,0x