View Single Post
  #1   Spotlight this post!  
Unread 09-02-2007, 16:54
ebowla's Avatar
ebowla ebowla is offline
The Overmind
FRC #2016
Team Role: Programmer
 
Join Date: Dec 2006
Rookie Year: 2006
Location: Ewing High School
Posts: 15
ebowla is on a distinguished road
Combined Code Error

Well I have been trying to combine the camera code, the encoder code, and our driving code into one. I got the driving code into the camera code without any pain, but when I tried to put the encoder code in there as well, one error came up that I couldn't figure out. The below line came up when I copied the code from the user routines fast from the encoder code over to the combined code. It was in the encoder readme saying that I needed the interrupt handlers. I did that and included the encoder.h in every file that needed it, but this error kept coming up. Any help with this will be much apprieciated.

NOTE: The Error that was on this line is no longer occurring.

EDIT: Today I tried compiling it again, I didn't change anything, but now I get the following errors.

C:\Documents and Settings\All Users\Documents\Combo Code\encoder.c:130:Error [1205] unknown member 'INT3IP' in '__tag_223'
C:\Documents and Settings\All Users\Documents\Combo Code\encoder.c:130:Error [1131] type mismatch in assignment

EDIT2: I found out that for some reason the enable encoders was not commented out. I did that then it built, but if I take it out I still get the above errors. So in otherwords, until I can fix those I can't use encoders. Once again all help will be apprieciated.
__________________
Progamming Master
Disclaimer: May not be actually as good as claimed, not reliable for advice, and shirks away any real work.

Last edited by ebowla : 10-02-2007 at 08:55.