View Single Post
  #4   Spotlight this post!  
Unread 22-01-2006, 22:37
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: Missing teeth with kit tooth counter

Make sure it's not the code.. From what I remember of last year, the encoders counts are "long"'s, while the user byte is an int. I'm not sure what would happen if you didn't explicitly cast it back to int with (int)encoder_count. I know I spent about a week trying to figure out a very similar problem, only to have it be that problem.