WEB例如: #define UART_LEN_MAX 512 #define TIMEOUT_RX_MS 5 volatile uint8_t uart_recving_buffer[UART_LEN_MAX] = {0}; volatile uint16_t timer_rx_flag = 0,index_uart0 = 0; volatile uint32_t add_up=0; 初始化串口 { system_set_port_pull(GPIO_PD6,GPIO_PULL_UP,tru...