Re: Calling C functions from EasyC
Thanks for the hint.
I may have figured out a solution. I don't have access to the RC right now, so I can't test it. It does compile and link successfully.
This is what I did:
1. Compile the C code using MPLab.
2. Use mplib.exe to add the .o file to the wpilib.lib in the EasyC folder.
3. Add the header file to EasyC (Options/File Inclusion).
|