diff --git a/platformio.ini b/platformio.ini index 00ee471..c45635d 100644 --- a/platformio.ini +++ b/platformio.ini @@ -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 diff --git a/src/BMS/CHILLER/CH_York_YVA_RTU_PHXA7/config.h b/src/BMS/CHILLER/CH_York_YVA_RTU_PHXA7/config.h index c9ad044..c3dec4a 100644 --- a/src/BMS/CHILLER/CH_York_YVA_RTU_PHXA7/config.h +++ b/src/BMS/CHILLER/CH_York_YVA_RTU_PHXA7/config.h @@ -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. */