Home \ Help \ Search \ Login RSS

Welcome, Guest. Please Login

This forum is now READ-ONLY! Please visit http://forum.wiring.co/ for the new forum.

Wiring ForumBugsSoftware Bugs › Serial monitor flipping

Page Index Toggle Pages: 1
Serial monitor flipping (Read 4924 times)
04/20/10 at 17:16:51

Titus   Offline
Full Member
Wiring Soccer Robot!
Amsterdam

Posts: 176
***
 
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....

Thanks
Titus
 

Check www.TeamVossius.nl for our Autonomous soccer robots!
IP Logged
 
Reply #1 - 04/20/10 at 18:25:28

barragan   Offline
YaBB Administrator

Posts: 939
*****
 
hi Titus, change baudrate for the number directly and let me know.
 
IP Logged
 
Reply #2 - 04/24/10 at 13:46:28

Titus   Offline
Full Member
Wiring Soccer Robot!
Amsterdam

Posts: 176
***
 
The baudrate in both the program(serial.begin(baud)) and in the Serial monitor?
I'm using 9600 atm, what do you suggest?
 

Check www.TeamVossius.nl for our Autonomous soccer robots!
IP Logged
 
Reply #3 - 04/25/10 at 00:35:38

barragan   Offline
YaBB Administrator

Posts: 939
*****
 
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.
 
IP Logged
 
Page Index Toggle Pages: 1