PDA

View Full Version : Weird problem..


devicenull
03-12-2005, 08:34 PM
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
03-13-2005, 11:25 AM
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
03-13-2005, 12:07 PM
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