|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Calling functions from other documents
In MPLAB, how do I call functions from other files in a project?
Here is my code: Code:
static int counter; counter = Get_Encoder_3_Count(); Here is the function code: Code:
long Get_Encoder_3_Count(void)
{
long count;
INTCONbits.RBIE = 0;
count = Encoder_3_Count;
INTCONbits.RBIE = 1;
return(count);
}
Error - could not find definition of symbol 'Get_Encoder_3_Count' in file 'V:\frc-code-2007-8722\FrcCode_2007_8722\user_routines.o'. Last edited by Kilroy0846 : 03-02-2008 at 00:03. Reason: Added The Error Text |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calling C functions from EasyC | koenig3456 | Programming | 4 | 27-01-2006 16:03 |
| How Do I Program My RC To Spot One wheel From Going faster than the other | Kyle1010 | Programming | 5 | 12-01-2003 15:30 |
| Stack height Poll (spawn from other thread) | Andrew Rudolph | Chit-Chat | 5 | 07-01-2003 17:15 |
| Legality Issues Regarding Gears From other vendors | kilpatrick | Rules/Strategy | 1 | 17-02-2002 09:04 |
| And once more from the top... GLORIA! GEFORCE 3! AND OTHER CARDS... | Robby O | 3D Animation and Competition | 1 | 24-01-2002 20:12 |