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.

关于使用内部电压检测不准



我在程序中使用内部电压检测电池电量,如下:

 HalAdcSetReference( HAL_ADC_REF_125V );
    adc_out = HalAdcRead( HAL_ADC_CHANNEL_VDD, HAL_ADC_RESOLUTION_10 );
但是发现读出来的adc_out的值不准,都偏大的,请问这是什么回事呢?