Arduino communication

Hi!

How can i communicate with 2 arduino’s?

I have to press a button on one arduino and then the led has to turn on on another arduino.

Could you please help me?

How are your boards connected to one another? Serial might be the easiest way. Try using software serial on both boards and cross connect rx and tx.

Yes, they are connected serial. All the wiring is right but i don’t really understand the code, could you help me with this please?

https://microcontrollerslab.com/serial- … no-boards/