MODBUS RTU

Hello,

I want use Modbus RTU communication between Arduino DUE,s but what I can't find is the slave source code.

The question is: can someome say where I can find a Modbus RTU slave code for the Arduino DUE.

Jan

Try this library, it's for master and slave functionality.

Hallo,

I have download and install the programs.

When I compile an program I get the next error: ModbusRtu.h: no such file or Directory

Maybe you can give my an tip how to solve this.

Jan

Install the library into your libraries folder. On my system it's at $HOME/Arduino/libraries, so the ModbusRtu.h file should be at $HOME/Arduino/libraries/ModbusRtu/ModBusRtu.h. If you have another operating system than me (I use Linux) you might have to change these Paths. Sketches usually are saved by the IDE to the same folder ($HOME/Arduino in my case).
Unfortunately the ModbusRtu library is not available in the Library Manager of the IDE.

Once you have copied the library files to that folder you have to restart the IDE, otherwise it won't notice.

Hello,

Thanks for the information.

Leen