|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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. Last edited by ebowla : 10-02-2007 at 08:55. |
|
#2
|
||||
|
||||
|
Re: Combined Code Error
Hm. Might I ask where exactly you're getting this error? The only place I can think of that you would get it would be in Initialize_Encoders(), since I don't think you would be messing with the interrupt priority elsewhere in your code. If you tell us where you're encountering this error in your code, we can help you more.
|
|
#3
|
||||
|
||||
|
Re: Combined Code Error
It explains how to solve this problem in the encoder readme in the code from kevin's site.:
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Code error on RC after downloading "bells and whistles" version of Kevins camera code | DanDon | Programming | 6 | 10-01-2006 18:07 |
| Intermittent Code Error | Plloyd | Programming | 9 | 09-04-2005 21:37 |
| Combined Camera and PID/Encoder Code | Terry Sherman | Programming | 1 | 14-03-2005 17:59 |
| Error w/ FRC code | JamesBrown | Programming | 2 | 08-01-2005 16:17 |
| C++ Code Error? | Adam Shapiro | Programming | 9 | 20-01-2003 13:24 |