BlackDog17 - 2020-02-02

Hi friends,
I want to connect my Arduino Nano using RS485 to raspberry PI.
I use MAX 485 module for arduino and USB 485 for Raspberry.
The problem is I don't know what code to use for my Arduino.
Communication between the two Arduins using 2x MAX485 was OK.
I modified the CODESYSConfig.cfg file:

[SysCom]
Linux.Devicefile = / dev / ttyUSB
portnum: = COM.SysCom.SYS_COMPORT1;

Can someone send me the correct code to arduino please?

Thank you very much for all the answers

IMG: Capture.JPG