ArduinoModbus icon indicating copy to clipboard operation
ArduinoModbus copied to clipboard

Add RTU compatibility to DUE

Open NitrofMtl opened this issue 6 months ago • 1 comments

With use of a modified ArduinoRs485 lib, make use modbus with Arduino DUE.

Change, add macro: -In modbus.c: -change order of inclusion -remove inclusion that did not prevent compiling ( look like already included in arduino.h) -remove the #include <unistd.h>, it did not compile with it, but no problem seen without

-in modbus-rtu.cpp: -change the param for Serial.begin from uint16_t to UARTClass::UARTModes

NitrofMtl avatar Jun 24 '25 00:06 NitrofMtl