This little piece of code :
void setup() {
Serial.begin(57600);
Serial.println("just testing");
}
void loop(){
char c;
if (Serial.available() > 0){ // is there a character in the buffer?
c = Serial.read();
Serial.print("Incoming character is ");
Serial.println(c); //just shows the incoming character
}
}
Doesn't work properly at 57600 baud, Change the baud rate to anything else and it just takes off and works fine, even 115200. If I send the Uno one character at a time, I get the character properly; if I send a line like "Hello there" I get the "He" ok and the rest is junk. When I searched for other folks that had had this problem I noticed a bunch of them having problems with this baud rate for GPS applications, but nothing else.
What's up with this? What am I overlooking?