如题,我在主程序中赋值,会将值赋给ADC寄存器ADC12MEM0,这是什么原因造成的?
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.
您可以打断点看一下第569行pwm_ad_run这个参数的变化,这个参数就是采集到的AD值,他会在几百到几千之间跳动。没有任何影响他的因素,取消赋值就不会有这个变化。