I have problem with official Arduino Modbus RTU library (https://www.arduino.cc/en/ArduinoModbus/ArduinoModbus)
Inside Library, at the end of the file RS485.cpp, instance of RS485 class is initialized.
Code: Select all
RS485Class RS485(SERIAL_PORT_HARDWARE, RS485_DEFAULT_TX_PIN, RS845_DEFAULT_DE_PIN, RS845_DEFAULT_RE_PIN);
Code: Select all
RS485Class RS485(SERIAL_PORT_HARDWARE3, CONTROLLINO_UART_TX, CONTROLLINO_RS485_DE, CONTROLLINO_RS485_nRE);
The tutorial and library from Controllino web site (https://www.controllino.biz/knowledge-b ... modbusrtu/) is working, but I would like to avoid mixing of two different libraries. We are already using official version Arduino Modbus TCP.
Has anyone encountered this problem and managed to solve it?
Thanks in advance,
Uskok