View Single Post
  #11   Spotlight this post!  
Unread 30-10-2003, 23:05
Sachiel7's Avatar
Sachiel7 Sachiel7 is offline
<Yes I managed to flip it
AKA: Shayne Helms
FRC #1132 (RAPTAR Robotics)
 
Join Date: Sep 2002
Rookie Year: 2002
Location: Richmond, VA
Posts: 541
Sachiel7 is just really niceSachiel7 is just really niceSachiel7 is just really niceSachiel7 is just really niceSachiel7 is just really nice
Send a message via AIM to Sachiel7
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!