想请问一下,相同的代码,为什么我上电后直接读flash(flash之前保存的值是我上一次写下的),然后发送给上位机显示,结果显示如图一;但是我过了一会儿,代码把flash的值重新写了,然后读flash发送给上位机显示,数据就正确了。这是为什么呢?
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.
想请问一下,相同的代码,为什么我上电后直接读flash(flash之前保存的值是我上一次写下的),然后发送给上位机显示,结果显示如图一;但是我过了一会儿,代码把flash的值重新写了,然后读flash发送给上位机显示,数据就正确了。这是为什么呢?