更改波特率

This commit is contained in:
不吃油炸鸡
2025-08-23 18:55:36 +08:00
parent 0d9aff9cbc
commit cab1b07fe3

View File

@@ -44,7 +44,7 @@ void MX_USART6_UART_Init(void)
/* USER CODE END USART6_Init 1 */
huart6.Instance = USART6;
huart6.Init.BaudRate = 115200;
huart6.Init.BaudRate = 1500000;
huart6.Init.WordLength = UART_WORDLENGTH_8B;
huart6.Init.StopBits = UART_STOPBITS_1;
huart6.Init.Parity = UART_PARITY_NONE;