заработало чтение, надо привести в порядок код

This commit is contained in:
2025-08-28 21:52:11 +03:00
parent 2317b904ba
commit 51f6216eb7
4 changed files with 125 additions and 300 deletions

View File

@@ -15,8 +15,7 @@ void setup() {
void loop() {
// put your main code here, to run repeatedly:
RS_UART_Handler(&hmodbus1); // нужно вызывать периодически
RS_TIM_Handler(&hmodbus1); // проверка таймаута
RS_Process(&hmodbus1);
//delay(500);
//Serial.println("start");
//rs_huart.println("start1");