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.
请问怎么通过串口输出变量的数据,有这样的库函数吗。就类似c里面printf();
你如果使用CCS的话,可以直接在线调试,就可以看到变量的值的。
如果你要通过串口发送的话,可以用这个函数
voidUARTCharPut(uint32_t ui32Base,unsigned char ucData)
来实现
发个程序仅供参考