Hi There,
I have an arduino uno that I'm playing with. I've written an extremely simple sketch:
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Test");
}
void loop() {
// put your main code here, to run repeatedly:
// while(Serial.available()){
// Serial.print((char)Serial.read());
// }
Serial.println("BLAH!\n");
delay(50);
}
I compile/download and then open up the terminal on my mac. I run screen:
screen /dev/tty.usbmodemfa131 -115200
I get a bunch of garbage out. If, however, I use the serial console provided by the arduino IDE I get the expected output. The interesting thing is that if I chance the baud rate in the sketch to 9600 screen does just fine and I see the expected output. Any ideas? I really can't stand the arduino IDE and don't like being tied to it. Thanks,
D