ch
This commit is contained in:
@@ -10,10 +10,10 @@
|
|||||||
[platformio]
|
[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]
|
[env]
|
||||||
upload_port = COM12
|
upload_port = COM15
|
||||||
|
|
||||||
[common_env_options]
|
[common_env_options]
|
||||||
framework = arduino
|
framework = arduino
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
const int RX_PIN = 17; /**< @brief The GPIO pin used for receiving data (RX). */
|
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 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 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. */
|
/** @brief Global instance of the Modbus RTU server. */
|
||||||
|
|||||||
Reference in New Issue
Block a user