Good Evening-
Our student programmer (and I) have hit a wall. He integrated the Gyro, Camera BW, and Encoder solutions. While the camera and gyro work, the encoder fails.
I have tested his encoder sample program Kevin provided- it runs on IO1, IO2, and IO3 (although 3 is odd behaviour).
We have 2 wheel encoders capable of sensing direction but have chosen not to implement that this time. The third (going on IO pin 3) is the GTS, and works properly with these files modified files:
(frc_encoder) - works
(frc_camera) - doesn’t work.
I have even gone so far as to replace the encoder files from the project that doesn’t work with the one that does work, and modified the user-routines-fast interrupt, and it still doesn’t work.
I tried the 2006_combined_code that was at this thread ( ](http://www.chiefdelphi.com/forums/showthread.php?t=42830&page=2&highlight=encoder+gyro+camera)
Suggestions welcome. I’m having the student tear thru the code again but the hardware ships monday- working or not working.
Jason
frc_encoder.zip (12.4 KB)
frc_camera_21.zip (16.5 KB)
frc_encoder.zip (12.4 KB)
frc_camera_21.zip (16.5 KB)