基于单片机智能燃气表监测系统设计-毕设课设资料
#include<at89x52.h>
#include <intrins.h>
#define uchar unsigned char
#define uint unsigned int
sbit shuchu=P3^7; //输出脚定义
void Delay2500us() //@12MHz
{
unsigned char i, j;
i = 5;
j = 218;
do
{
while (--j);
} while (--i);
}
void Delay2000ms() //@12MHz
{
unsigned char i, j, k;