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.

6748 串口通信



我用的是starterware 提供的uart例程,想把一个int型变量用串口发送,写了一个把int转为4个char的子函数,传回来的数总是不对!转换子函数如下: