What is the error? You need to do these in the right order as the compiler reads from top down. So any variable in one included file needs to be defined in a previously included files.
Do these included files include other files? That can get messy and cause an error if you improperly include the same file twice (there is trick when doing that if this is the case).
Does the compiler find the files? Are they in the same directory or in the include path of robot C? (the places it looks for files)
You need to have those files opened to be able to include them. Try that and I think it should work. Sometimes you might also get error messages because, the files you are including have “task main”. Mostly if you include a file, you want to change “task main” to some else such as “task drive”. You only need “task main” for the main program.
This is the error, “Couldn’t open ‘#include’ file ‘Autonomous.c’”
where does the compiler look for files?
one of the included does include a another file.
I’m confused with this program, the first time I compiled, with all the included files, their wore no errors.