www.pudn.com > TELEPHONE.rar > main.c, change:2008-04-28,size:876b


#include <REG52.h> 
#include <absacc.h> 
#include <intrins.h> 
#include <MT8880.h> 
//#include "LED_DIS.h" 
//#include"key.h" 
#include"type.h" 
//#include "isd2560.h" 
//#include "LED.h" 
void main(void) 
{  
	UCHAR data w_buf[7]; 
	SP=0x5f; 
/* Ԥ5135535 */ 
	w_buf[0]=1; 
	w_buf[1]=2; 
	w_buf[2]=3; 
	w_buf[3]=4; 
	w_buf[4]=5; 
	w_buf[5]=6; 
	w_buf[6]=7; 
	while(1) 
	{ 
		MT8880_INIT(); 
		tran_init(); 
		transmit(w_buf,7); 
		MT8880_INIT(); 
	} 
//	for(;;); 
} 
/************************************************************ 
// 
/************************************************************ 
/*	while(1) 
	{ 
	 	 
		 
		switch(keylonely()) 
		{ 
			case 0: 
			{ 
 
			}break; 
			case 1: 
			{ 
			 	//isd2560_PD=1; 
			}break; 
			case 2: 
			{ 
			 	ISD_Play(); 
			}break; 
			case 3: 
			{ 
			 	ISD_Record(); 
			}break; 
 
		} 
		 
	 
		*/