如图所示单片机控制系统,在P2.0口接一个发光二级管,要求实现闪烁。 (2)请写出下面指定语句在的作用。 #include
// ________(1)_______________ #define uint unsigned int //_________(2)______________ sbit LED =P 2 ^0; // _________(3)______________ void Delay(unit i) // _________(4)______________ { unit j; for(;i>0;i--) for(j=0;j<1 2 0;j++) //_______(5)____________ {;} } void main() //_________(6)__________ { while(1) //_________(7)_________ { LED =1; Delay(1000); //_________(8)___________ LED =0; //__________(9)__________ Delay(1000); } }