Serial Communication with ATmega2560 using RS485

Hi J-M-L,

Thank you for your reply.

I made pin configuratation in a proper manner.

I was trying to understand programming part you suggested me.

It is for connection between 2 different Arduino with 2 different programms.

but in my case I have only 1 Arduino and 1 radar Sensor.

Should I configure in same manner or is there any particular method for this type of configuration?

Thanks again.