combining two arduino board

Hi so I am trying to use two arduino mega boards and right now I have them connected through TX3 and RX3 when I try uploading the simple program to get it to read I am just getting a ton of errors. Not really sure if I am doing this correctly any advice on how to set this up would be great.

when I try uploading the simple program to get it to read I am just getting a ton of errors.

What simple program? What errors? How did you weigh them?

Did you connect the grounds?

I just uploaded the codes that I am using and I have them both connected to my laptop using the usb to mini ports for both. I have them connected directly to each through the tx3 and rx3 ports and a ground port I disconnect one from my laptop upload it. Then disconnect the one I just uploaded and connect other upload switched ports and I get nothing. I also uploaded it while keeping them both connected. Ports using are 14 and 15

sketch_oct19a.ino (733 Bytes)

sketch_oct19b.ino (706 Bytes)

Please do us all a favour and post the programs here to avoid the need for them to be downloaded.

I have them connected directly to each through the tx3 and rx3 ports and a ground port

Then why are you trying to talk to them through I2C?

Have you installed the Wire Master library?

Maybe there will be some useful stuff in Serial Input Basics

...R