i2c between arduino uno and nano.

Hello guys, I'm new into i2c and i would like to learn how to connect them.
I searched on www but I only found few tutorials on Uno -> Uno.
And this (Nano -> Uno but i don't get anything on serial)

So, i've connected A4,A5 (nano) to a4 a5 (uno) copy&pasted the code but nothing worked. ( I also connected 5v and Gnd to both ... gnd - gnd & 5v - 5v )

So any guide on that.

I would like to send data like a char (text) and / or open an led, by sending to NANO from UNO a command and the NANO should light the led on.

Thanks guys <3

Nano and Uno use the same processor (mega328) so what works on an Uno should work on a Nano.

Connect A4 to A4 and A5 goes to A5. It is not like serial. Connect the grounds, but if both the Uno and Nano are connected by their USB don't connect the 5V together. You may need external pull up resistors (4.7K).

groundFungus:
Nano and Uno use the same processor (mega328) so what works on an Uno should work on a Nano.

Connect A4 to A4 and A5 goes to A5. It is not like serial. Connect the grounds, but if both the Uno and Nano are connected by their USB don't connect the 5V together. You may need external pull up resistors (4.7K).

Ok, Thank you, I will try with a Wire.h example to see if it works, i thought that it's different becouse of the A4/5 pins...