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.
我将封装成函数在主函数while(1)调用,无法读出ADC值,出现如下的错误:*(ADCMEM0) unknown Error: cannot load from non-primitive location,请问这该怎么解决?上述的语句一定要直接放在主函数才能正常采集到ADC值吗?