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.
如图
怎么说呢,这题目直接看MSPWARE例程就可以了
这是有多不用功啊。。。
第四题看附件代码,把判断条件改一下就好啦,再对应你的板子设置一下I/O口
那个条件0.5AVcc怎么改成1/3的和2/3的就是if(ADC12MEM0 >= 0x7ff)改成什么样的
你想12bit的ADC满量程是0xFFF,它的一半0.5AVCC是0x7FF,那么三分之一,三分之二分别是多少呢?