PaulS:
You claim to have the TX and RX pins of the 328 and the Mega connected, and then you try to read from Serial1, which apparently has nothing connected to it. Why is that?
oh ya, you remind me of not declaring port.
my bad, it is a typo, it is tx connected to rx1, I go change now.
#define rx 19
void setup(){
Serial.begin(38400);
Serial1.begin(38400);
pinMode(rx, INPUT);
}
This is what I get...