Quote:
|
I might be kinda blind (I wear glasses), but I am unable to see anything changed in those two functions, except you commented an entire block out.
|
Exactly. We don't care so much about the Limit_mix() function, in particular, as that we can't seem to add any new function. (Once again, we haven't tested that exhaustively). We find it very wierd that commenting out that block and adding a default return value would have the effect of making our autonomous mode cease to run.
Quote:
|
The way I tell how much memory I am using is to open up MPLAB with your code's workspace, then go to View->Memory Usage Gauge, or type [Alt], then 'V', then '6'.
|
I will try this tonight, when I get the robot to work with. Does anyone know off the top of their heads how much code space we get?
Quote:
|
Check your printf statements for missing, extra, or inconsistent variables.
|
We do have a number of prinf statements in our code, and have had a lot of trouble in casting between ints and longs. Our AP Computer Science teacher suspects that there is a compiler bug relating to that.
I will try cutting printfs and looking up code size tonight. Thanks,
Kyle W
1014 Controls