Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Weird problem.. (http://www.chiefdelphi.com/forums/showthread.php?t=36094)

devicenull 12-03-2005 20:34

Weird problem..
 
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

Re: Weird problem..
 
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

Re: Weird problem..
 
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


All times are GMT -5. The time now is 04:40.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi