|
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.
|