我用
uint8 get_power_adc(void)
{
ADCCON3 = 0x0F;
while (!(ADCCON1 & 0x80));
return ADCH;
}
当输入电压小于等于2.8V时这个值一直是1F, 而且电压越小ADCH值越大,这是什么原因啊,求助!!!
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.
我用
uint8 get_power_adc(void)
{
ADCCON3 = 0x0F;
while (!(ADCCON1 & 0x80));
return ADCH;
}
当输入电压小于等于2.8V时这个值一直是1F, 而且电压越小ADCH值越大,这是什么原因啊,求助!!!