настройка 2 uart одни на слейв другой на мастер

This commit is contained in:
2026-06-25 11:08:10 +03:00
parent 132055b177
commit f695867969
6 changed files with 86 additions and 64 deletions

View File

@@ -48,7 +48,7 @@ extern "C" {
#define MODBUS_REG_ORDER_BE 0
#define MODBUS_REG_ORDER_LE 1
#define USE_USART USART_1
#define USE_USART USART_2
#define USART1_PA6_PA7
//#define USART1_PA9_PA10