数据驱动、坚持为客户提供有价值的服务和内容
#includesbit led=P1^2; //定义端口为P1.2void delay(unsigned int x) //延时函数,x为传递参数{
unsigned char i; while(x--) { for(i=0;i<120;i++);