<optgroup id="wim64"><div id="wim64"></div></optgroup>
<center id="wim64"></center>
<center id="wim64"></center><code id="wim64"></code>
<center id="wim64"></center>
<optgroup id="wim64"></optgroup>
<optgroup id="wim64"></optgroup>
<optgroup id="wim64"><small id="wim64"></small></optgroup><optgroup id="wim64"><div id="wim64"></div></optgroup> <optgroup id="wim64"><small id="wim64"></small></optgroup><code id="wim64"></code>
<optgroup id="wim64"><small id="wim64"></small></optgroup>
<noscript id="wim64"><wbr id="wim64"></wbr></noscript><optgroup id="wim64"></optgroup>
新聞動態
你的位置:首頁 > 新聞動態 > 產品新聞

串口屏與單片機的交互指令

2022/10/28 15:22:28??????點擊:
淘晶馳串口屏的開發軟件《USART HMI》為例,
printf重定向到串口
printf("n0.val=666"); //發送命令
printf("\xff\xff\xff"); //發送結束符
printf("n0.val=666\xff\xff\xff");
printf("n0.val=%d\xff\xff\xff",MyData); //一次性發完命令和結束符
printf("t0.txt=\"%d\"\xff\xff\xff",MyTxt); //一次性發完命令和結束符
注意,這里發送16進制是用\xff,不要寫成 \0xff,會導致結束符無法發送
JAPANESETUBE日本护...
<optgroup id="wim64"><div id="wim64"></div></optgroup>
<center id="wim64"></center>
<center id="wim64"></center><code id="wim64"></code>
<center id="wim64"></center>
<optgroup id="wim64"></optgroup>
<optgroup id="wim64"></optgroup>
<optgroup id="wim64"><small id="wim64"></small></optgroup><optgroup id="wim64"><div id="wim64"></div></optgroup> <optgroup id="wim64"><small id="wim64"></small></optgroup><code id="wim64"></code>
<optgroup id="wim64"><small id="wim64"></small></optgroup>
<noscript id="wim64"><wbr id="wim64"></wbr></noscript><optgroup id="wim64"></optgroup>