定义一个字符串RxBuf[]
Print_Char(RxBuf[0]);
Print_Char(RxBuf[1]);
Print_Char(RxBuf[2]);
Print_Char(RxBuf[3]);
Print_Char(RxBuf[4]);
Print_Char(RxBuf[5]);
Print_Char(RxBuf[6]);
Print_Char(RxBuf[7]);
Print_Char(RxBuf[8]);
Print_Char(RxBuf[9]);
Print_Char(RxBuf[10]);
Print_Char(RxBuf[11]);
Print_Char(RxBuf[12]);
Print_Char(RxBuf[13]);
Print_Char(RxBuf[14]);
Print_Char(RxBuf[15]);
给单片机发送ABC不加回车,单片机接收:41 42 43 0D 0A 0D 0A 0D 0A 0D 0A 00 00 00 00 00
。。。。。。。。加回车 单片机接收: 41 42 43 0D 0A 0D 0A 0D 0A 0D 0A 00 00 00 00 00
什么也不发送 单片机接收:0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 00 00
神马个情况???虽然不影响接收的有用数据
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
那是默認發送 ASCII 給你看, 自動換行的結果
選用16進制發送會解決嗎 ?
不行就換另外的 傳口調試軟件
俺用這個純軟件的, 不用 硬件的邏輯分析儀
http://www.sudt.com/cn/index.html
一周热门 更多>