RS485 sn75176 communication issue Arduino Leonardo

Hello, i have successful communication between 2 arduino mega but i am trying between Arduino Mega and Leonardo but neither transmit or receive of two way communication.
Is there something different setup or connection using arduino leonardo.

Any suggestion would be appreciated.

Thanks in advance!

No crystal ball here. Please read:

Let's start with providing your attempted code (gives us some idea of both what the problem might be, and your level of understanding of Arduino software). We'll also need a schematic, though that can be a photo of a simple sketch of your connections on a piece of paper. Include ALL connections, please, so we get an accurate idea of your plans.
Respectfully,

Thanks for the quick response, using 2 arduino mega or uno i have a successful 2 way communication (transmit - receive).

I upload same code to arduino Leonardo but can't communicate.

That's is the strange

As @camsysca said:

RS485_Send_Receive.ino (2.2 KB)

you can post code within </> code-tags (not as a link or download)

Keep in mind that UART0 on a Leonardo does not have the pins exposed and only connects to the USB port, but GPIO pin 0 & 1 connect to UART1 RX TX.
For the rest a code that works on an UNO should work on a Leonardo, but use 'Serial1' for the exposed pins

It works using Serial1!

Thank you very much!