- 4
- 0
- 约9.29千字
- 约 11页
- 2018-01-05 发布于河南
- 举报
GSM_C程序
/********************************************************** 基于51的GSM C程序(完整版)**********************************************************/#includereg51.h#includestring.h#include stdio.h#define uchar unsigned char#define uint unsigned int#definePAUSE_INTEA=0;#defineSTART_INTEA=1;#define Buf_Max 200 //缓存长度200#define Delay_Time 1000 //延时长度sbit LED1 = P2^0; sbit LED2 = P2^1; //JDsbit Alarm = P2^2; sbit D1 = P2^3; sbit D2 = P2^4; sbit key1 = P1^2;sbit key2 = P1^3; sbit sensor = P3^3;sbit reset = P3^7;sbit IGT = P3^2; //点火信号unsigned char i = 0; //定义缓存指针unsigned char Rec_Buf[Buf_Max];
原创力文档

文档评论(0)