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).
代码如下:
if uart1.any(): x_error = int(uart1.readline().decode()) print(x_error)
提供全部的代码。
还有接收到的数据会打印在一行的截图。
接收到的数据会打印在一行