View Single Post
  #3   Spotlight this post!  
Unread 27-01-2006, 13:27
koenig3456 koenig3456 is offline
Programming Coach
None #0681 (EARTH Squad)
Team Role: Coach
 
Join Date: Jan 2006
Location: Pennsylvania
Posts: 16
koenig3456 is an unknown quantity at this point
Smile 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).