orangepi-xunlong / wiringOP

wiringPi for Orange Pi
GNU Lesser General Public License v3.0
410 stars 194 forks source link

请问rs485串口调用怎么发送16进制byte字节? #51

Open linyihong-git opened 2 years ago

linyihong-git commented 2 years ago

485串口调用wiringSerial 只有serialPuts,serialPutchar 但不懂怎么发送 16进制byte字节? 请教下 如:01 03 00 02 00 02 65 CB 转成byte发送