feat: RS485透传改为Modbus RTU Master轮询寄存器41161报警信号

This commit is contained in:
2026-05-27 17:15:57 +08:00
parent 0bc39b7944
commit 5318c35d37
17 changed files with 380 additions and 4373 deletions

View File

@ -100,7 +100,7 @@ void MX_USART3_UART_Init(void)
/* USER CODE END USART3_Init 1 */
huart3.Instance = USART3;
huart3.Init.BaudRate = 4800; /* 从 9600 修改为 115200 */
huart3.Init.BaudRate = 19200;
huart3.Init.WordLength = UART_WORDLENGTH_8B;
huart3.Init.StopBits = UART_STOPBITS_1;
huart3.Init.Parity = UART_PARITY_NONE;