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).
如图,openmv串口接收数据有 b‘ ’ 这样的格式,想问问怎么删除
b说明这个变量类型是字节串,不是说这个变量第一个字符是b。
不需要消除。
如果你想转成字符串
buf = b'13683mm' data = buf.decode() print(data)