Log in

View Full Version : Weird problem..


devicenull
12-03-2005, 20:34
For some reason, printf()'s only display while the robot is still on after being programmed. If I reset the robot, the printf's come across garbled..

Any way to fix this? I'm not even sure what could cause it (I did remove user_serialdrv from the project, and all code.. when I re-add it I get the RC program light flashing between red and green)

Embok
13-03-2005, 11:25
I'm not sure what you mean by garbled, could you show me the line with the printf and maybe better explain what garbled means?

devicenull
13-03-2005, 12:07
Example line
printf("Pos is %i\r",(int)cpos);

After I program, it comes across as Pos is 204
After reset/power off it comes across as maybe |8|8|8|8|8|8|8|8|8|8 or some other random stuff