When I use Serial.print() or Serial.println() I get a random number of unprintable characters (small squares) at the beginning of the first line. I suspect I have some sort of initialization problem but the examples I've seen look the same to me.
Aurdino Uno R3, current IDE (2.3.2). Code and output follows.
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
Serial.println ( "***** initial output line, begins/ ends with *****");
}
void loop() {
}
The output has a variable number of small squares displayed and then the actual output. Unfortunately the small squares won't copy/paste so I'm showing the bottom right corner of the serial monitor. You can see that the baud rate is correct (9600) and the "junk"