Hi everyone,
I'm trying to display simple messages on serial monitor, through Serial and Serial1,
but I'm having some problem.
The board is Arduino MEGA 2560, the Ide is Arduino 0022, the system is Ubuntu 10.04,
the board is automatically connected through serial port /dev/ttyACM0
Both Serials have been initialised in the setup():
Serial.begin(9600);
Serial1.begin(4800);
and my loop() simply calls
Serial.print("GOOD\t\t");
Serial1.print("WRONG");
Serial.println();
Serial1.println();
delay(100);
Now here is the problem: if I open the serial monitor and set baudrate to 9600,
the message "GOOD" is correctly displayed,
but if I change the baudrate to 4800
the message "WRONG" is not displayed!
I just see meaningless symbols, like xxxøxøxøxø
Maybe I missed something about the use of Serial?