You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling the example code EthernetModbusClientToggle.ino for ESP32 based nodemcu I get this error
error: 'SERIAL_PORT_HARDWARE' was not declared in this scope
RS485Class RS485(SERIAL_PORT_HARDWARE, RS485_DEFAULT_TX_PIN, RS485_DEFAULT_DE_PIN, RS485_DEFAULT_RE_PIN);
Any ideas on resolving this?
The text was updated successfully, but these errors were encountered:
Hi @rajsalieabs. Thanks for your report. You have encountered a deficiency in the "ArduinoRS485" library, which also affects the users of the "ArduinoModbus" library due to it having a dependency on "ArduinoRS485". So this is a topic for the arduino-libraries/ArduinoRS485 repository issue tracker, and is already tracked there:
When compiling the example code EthernetModbusClientToggle.ino for ESP32 based nodemcu I get this error
error: 'SERIAL_PORT_HARDWARE' was not declared in this scope
RS485Class RS485(SERIAL_PORT_HARDWARE, RS485_DEFAULT_TX_PIN, RS485_DEFAULT_DE_PIN, RS485_DEFAULT_RE_PIN);
Any ideas on resolving this?
The text was updated successfully, but these errors were encountered: