你这个多个串口是怎么用的?
const Uart1 = uni.requireNativePlugin('XM-Serial');
const Uart2 = uni.requireNativePlugin('XM-Serial');
这样吗?

没猫饼啊
- 发布:2020-11-24 15:04
- 更新:2020-11-24 17:13
- 阅读:667
1 个回复
蕉太狼二叔 - 个人便宜双端插件开发-QQ:1804945430-VX:1880392735
不是,openSerial的时候传入不同的端口号即可。可以加我QQ:1804945430实时聊天,回复比较快。