I am trying to make a arduino diecimila communicate with a arduino mega over a serial connection and send that data over another serial connection to my computer.
So the diecimia's RX and TX are connected to the mega's TX1 and RX1 and the grounds are connected.
I know the arduino only sends one byte at a time and in won't send multi byte variables, like int, if you don't program that.
But a value of 0 to 255 is sufficient for my application so I send one byte data.
The Mega appears to receive the data from the diecimilaa but it is real slow when I read the serial data with my pc.
I'm at work so I don't have the code with me.(can post it tonight)
But are there things I need to know about arduino to arduino serial connections. I can't find very much on this subject.
It has a delay of two to three seconds or so.
Both arduino's use 115200 bps to communicate wtih each other and the Mega uses 115200 bps to communicate with the computer.
Is that delay between sending the data from the diecimila to it being received by the Mega, or between being received by the Mega and being sent to the PC?
Connect LEDs that light up when data is sent, on the diecimila, and when data is sent and received on the Mega, if you haven't already.