View Single Post
  #1   Spotlight this post!  
Unread 22-01-2006, 20:06
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Question Missing teeth with kit tooth counter

I'm having problems with the kit tooth counters. I've attached one to digital input 1, enabled the interrupt, etc.

The interrupt works. But it seems to not fire all the time, like it's not firing all the time. When I get the value to the user by dashboard (User_Byte1), it doesn't increment every time it should.

We've also got the camera hooked up and operating. (The usage of the camera is not optional.)

The code I'm using is a stripped-down version of Kevin's encoder code. (Major stripped down.)

I'm not getting the red light o' death, or any other obvious signs of problems. I'm not using PWM13-16, I've made them all USER_CCP, and I'm linking with FRC_alltimers.lib.

Any recommendations on testing this, or possible causes?