ADC0832转换数据

/*
--ADC0832转换数据
--Flystone 2008-07
--转载保留此信息
*/

//******************ADC0832.h**************

#ifndef _ADCHG_H
#define _ADCHG_H

#define AdcDo  AD14
#define AdcCs  AD12
#define AdcClk AD15		
#define AdcDi  AD13    							

//--------------------------------------------------------
unsigned char ReadAdc(unsigned char Channel);
//--------------------------------------------------------

#endif /* _ADCHG_H */


//******************ADC0832.C**************

//-------------------------------------------------------------------

void Delay(unsigned char x) 
{
	unsigned char i;

	while(i 

你可能感兴趣的:(C51,delay)