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?
