|
Re: WPILib and FRC default code
The original reason that i made this thread was to find out if there was a way to define a library as secondary.
In MPLAB i can add the WPILib files to the directory and it will compile just fine. But if i call one thing from WPI i get error messages.
For example i put in my regular code the command "SetPWM (1, 255);" And all of a sudden i get the problem of multiple definitions for variables, commands and functions that i've never seen or played with before.
Like i said i want one library to be secondary. I only want to check in the library for functions that aren't defined anywhere else. Is this possible? I'm fairly new to programming so i'm not really sure if it is or not.
|