Wiring Forum
Bugs >> Software Bugs >> Serial monitor flipping

Message started by Titus on 04/20/10 at 17:16:51

Title: Serial monitor flipping
Post by Titus on 04/20/10 at 17:16:51
Dear Barragan,

I've been coping with quite a strange bug the last time.
The serial monitor is quite sometime not printing anything! Some times it's not even printing the character it prints when Serial.begin(baudrate) is declared.

I just get loads of nothing. hard returns/spacebar hits.
Very strange. I'm using 0023(xp), because of the fast compiler. But 0026(xp) also does this sometime.

The funny thing is, the arduino software does print everything, every time I try.
It seemed to work most of the time, and fail just sometimes. But recently I've been experiencing mostly/only failures.

Is there something that could be wrong in the program, that causes the wiring software to fail, or is there something wrong with the wiring software, considering that arduino does print it.

Reuploading a ton of times/changing comports eventually helps(after about 3 minutes).

The strangest thing is that somehow certain basic programs do always work....


Title: Re: Serial monitor flipping
Post by barragan on 04/20/10 at 18:25:28
hi Titus, change baudrate for the number directly and let me know.

Title: Re: Serial monitor flipping
Post by Titus on 04/24/10 at 13:46:28
The baudrate in both the program(serial.begin(baud)) and in the Serial monitor?
I'm using 9600 atm, what do you suggest?

Title: Re: Serial monitor flipping
Post by barragan on 04/25/10 at 00:35:38
the serial monitor detects which speed are you using in your program if you type it explicitly Serial.begin(9600); or the speed you want to use.
When you use Serial.begin(speed); where speed is a variable the serial monitor assumes you use 115200, so try to set the speed directly in your program (not through a variable). Let me know.

Wiring Forum » Powered by YaBB 2.5 AE!
YaBB Forum Software © 2000-2010. All Rights Reserved.