Serial communication between Arduino Mega(Master) and Arduino Mini(Slave)

@ieee488,

Referring to the post you mentioned, I tried to make arduinos communicate via Tx, Rx pins, but somehow the information which I sent from master to the slave didn't receive on the slave end what was expected.

I have attached arduino codes for both Mega and Mini with this out. Please help me out if you find any mistakes in the code.

serial_mega.ino (3.42 KB)

serial_mini.ino (803 Bytes)