@oxu2 你要重新发你的代码 而且我说了很多遍了,你的代码没有死循环,运行到最后就退出了。 你在最后添加 while True: uart.write("finishd\r\n") time.sleep_ms(100) 就可以看到他是不是结束了