I was wondering if it was possible to have a include file that that held my functions using robotc. for example, there would be one for movement, another for the arm etc.
I successfully includedEncoderMovement.c’ up by “Vex_Competition_Includes.c”
I get errors. my guess that it’s simply user error and it is possible, i’m just doing incorrectly.
I’ve attached my whole code in case it’s need for someone to help me. Whatever2.0.zip (3.53 KB)
Your errors were due to having prototypes for undeclared functions, and a few capitalization issues. Chances are, you didn’t copy everything over the the new file, or you deleted a few functions without deleting their prototypes.
It compiled fine with RobotC 3.6
You can use WinDiff or something to see what was changed.
If you click the error in RobotC, it will jump you to that line. Whatever2.0.1.zip (3.44 KB)