This commit is contained in:
Emmanuel HC
2026-06-05 08:06:41 -05:00
parent 63b2870871
commit 90cf94e8c9
2 changed files with 3 additions and 3 deletions

View File

@@ -10,10 +10,10 @@
[platformio]
default_envs = CRAH_TxAir_BASX_TCP_PHXA7 ; Select here the name of the configuration you want to download
default_envs = CH_York_YVA_RTU_PHXA7 ; Select here the name of the configuration you want to download
[env]
upload_port = COM12
upload_port = COM15
[common_env_options]
framework = arduino

View File

@@ -40,7 +40,7 @@
const int RX_PIN = 17; /**< @brief The GPIO pin used for receiving data (RX). */
const int TX_PIN = 16; /**< @brief The GPIO pin used for transmitting data (TX). */
const int RST_PIN = 4; /**< @brief The GPIO pin connected to the RS485 driver's DE/RE pins for direction control. */
const int MODBUS_ID = 6; /**< @brief The unique slave ID for this device on the Modbus bus. */
const int MODBUS_ID = 111; /**< @brief The unique slave ID for this device on the Modbus bus. */
/** @} */
/** @brief Global instance of the Modbus RTU server. */