I`m using MPLab v8.35, CCS complier v4.069. I`m creating a project with some files from CCS library. So I have written in my program rows like this :
Code:
#include <input.c>
Here is the question - should I load this input.c file into the Source files?
I`m asking because without loaded files(only the file with the main function) the complier compiles the program, but when I load them(into source files) it returns an error.
Thanks!
Gabriel
Joined: 03 Aug 2009 Posts: 1067 Location: Panama
Posted: Thu Jul 26, 2012 6:54 am
you can only have one source file.... the one which contains your "main" function.
all other files (which i think you mean "drivers") have to be placed in "other files"
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum