Description: The ADC module has a total of eight channels can be input analog signals are AIN0, AIN1, AIN2, AIN3, YM, YP, XM, XP. So is how ADC analog signal to digital signal conversion it? First, the analog input signal either channel, and the set value of the prescaler register AD converter to determine the frequency and finally ADC to convert analog signals to digital signals to the ADC saved data register 0 (ADCDAT0), then ADCDAT0 in the data can be accessed via interrupt or query. Development board to generate a voltage analog signal through a 10K potentiometer (variable resistor), and then through the first channel (ie: AIN0) analog signal output ADC.
To Search:
File list (Check if you may need any files):
adc.txt