With the source code below, I'm getting what I think to be strange behaviour with the serial port output.
void setup() {
Serial.begin(9600);
}
int c = 0;
void loop() {
Serial.println(c++);
}
Presumably what this will do is starting printing incrementing numbers, one on each line, starting from 0. However, my serial monitor only starts printing these numbers after the 3000 mark. I found this behaviour only after discovered in another sketch that I was losing data at the beginning.
Is this normal Arduino behaviour? Or a serial monitor problem? Or something else?