求STC12C5A60S2 AD转换C语言程序,解释详细点
求STC12C5A60S2 AD转换C语言程序,解释详细点
日期:2016-03-09 17:44:43 人气:1
#include "stc12c5a56s2.h"
#include "intrins.h"
#define FOSC 11059200L
#define BAUD 9600
typedef unsigned char BYTE;
typedef unsigned int WORD;
/*Declare SFR associated with the ADC */
//sfr ADC_CONTR