Quote:
|
Originally Posted by Daniel
I've only had a robot to test with for 8 days and 7 of them I have been chasing a problem like the initial message had. That is, you do a printf, a calcualtion and another printf - and the second printf never appears!!!
I'm beginning to believe that my problem is using "long" integers. Something in that compiler is weird.
Any body else had this experience? Did youfind a solution?
I have too many lines of code - so rewriting them is impossible. So much code to debug, so little time!
|
In the second printf(), are you printing anything other than just a value? Meaning, is there a constant string in there some place? The printf() that is implemented is fairly limited in the format identifiers it can handle and if it encounters one that it doesn't recognize, it ignores it, printing nothing out in its place. If there is a string you can verify it is actually being called.