|
Actually this isn't true.
C starts arrays with 0.
For example, an array of x[3] has values x[0], x[1], and x[2]. If you tried to ask for an x[3], the program would generate an error. This is why the MAX_FUNC is layed out in that way.
Actually, I have gotten some really good results removing the *58, and simply multiplying the timer values so that they are the number of cycles. This also allows me to use an integer array, so I can save alot of wasted memory space.
So far, everything works well.
__________________
-=Sachiel7=-

There's no such thing as being too simple!
Look for Team #1132, RAPTAR Robotics at the VCU Regional this year!
|