⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 py-b.c

📁 一种电话遥控板的原程序
💻 C
字号:
#include "pubDcl.dcl"
#include "reg52.h"
#include "extio.h"
#include "valuedef.h"
#include "display.c"
#include "otimer.c"
#include "otelc1.c"
#include "tts_send_str.c"
#include "ht9200.c"
//#include "callid.c"
#include "serial.c"
#include "otelc.c"
#include "Analyse.c"
void SysInit()
{
//	P0=0xff;
	P0=0xef;
	P1=0xaf;
	P2=0xff;
	P3=0xff;
	disp_Init();
	OTel_RP_Init() ;
	Phone_ToneCtrl(FALSE) ;
	check_Init() ;
	Serial_DealInit() ;
	Sys_TimerInit()   ;
	Serial_Init() ;
	Serial_SendCommand("PY-B PHONE------BJDZ",20) ;
}

void main()
{
	uchar temp ;
	SysInit() ;
//	delay(500) ;
	while(1)
	{
		OTel_RP_Check() ;
		if(GetSerialData(&temp) == 1)
		{
			Serial_Deal(temp) ;
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -