This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
P6SEL || BIT0 + BIT1; ADC12CTL0 = ADC12ON+ADC12MSC+ADC12SHT0_8+ADC12REF2_5V+ADC12REFON;//打开ADC12,延长采样时间 //为避免结果溢出+ V ref = 2.5V ADC12CTL1 = ADC12SHP+ADC12CONSEQ_3; //使用采样计时器,重复序列 ADC12MCTL0 = ADC12INCH_0; // ref+=AVcc = 2.5V,通道= A0 ADC12MCTL1 = ADC12INCH_1 + ADC12EOS; ADC12IE = ADC12IE1;
我为序列多通道配置ADC12
但这似乎是不对的
我的信道中有2.5 V,但ADC中的结果< 0x800
任何人都能帮我吗
谢谢你