Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
如何使用串口发送十六进制的数组,要转换成二进制?一个数一个数发?
https://forum.singtown.com/topic/2133/如何将色块的中心坐标做成二进制包发送到串口上
如果纯发送十六进制的数组呢? 比如ox55.ox55.ox05.ox03.ox02.oxe9.ox06
很简单啊,只要制造字节串就行。 数据=bytes([ox55.ox55.ox05.ox03.ox02.oxe9.ox06]) 应该是0x 而不是ox
uart.write(数据)