|
Mixing WPILib with default MPLAB code
Dear Brad,
Can you mix WPILib with default MPLAB code? If so, do you have any suggestions as to how to do so?
My team is using Kevin Watson's camera code as a basis for our coding efforts. However, it would be nice to access the routines in WPILib also (for when we try to do other things like using the Vex ultrasonic range finder).
Do we merely add the following files to our MPLAB workspace: API.h, BuiltIns.h, UserAPI.h and WPILib2k6.lib?
Do we need to add the FRC2k6_library.lib? Or is that the same as the ifi_library.lib file included with Kevin's MPLAB project?
Do we need to add the linker file or can we just use the linker file from Kevin's project?
And, one last question: right now we're using the EDU-RC to do our development, can we use WPILib with the EDU-RC as long as we use the 18f8520user.lkr file?
Your efforts are greatly appreciated.
|