添加timeout参数。 uart = UART(3,9600,timeout=1000,timeout_char=100)