Thread
:
Calling functions from other documents
View Single Post
#
4
03-02-2008, 00:19
Kilroy0846
Registered User
FRC #2139
Join Date: Jan 2007
Location: Las Vegas
Posts: 28
Re: Calling functions from other documents
I have the both the files encoder.c and encoder.h included. I added the external identifier, but I still get the same error.
Here is my new code:
Code:
static int counter; extern long Get_Encoder_3_Count(void); counter = Get_Encoder_3_Count();
Kilroy0846
View Public Profile
Find all posts by Kilroy0846
Find CD-Media Photos by Kilroy0846
Find CD-Media Papers by Kilroy0846