Libraries
pilot0315
Posts: 910
I have been off and on attempting to make a library using the formula in the learn prop c. I cannot get it to work. Copied and pasted or hand typed. Can't get the library to link with the test program.
Is there something I'm missing?
Is there something I'm missing?
Comments
Be sure the library files are stored in the Simple Libraries path.
To include the library in your project you may need to use the "project" command to add the library to your project.
The thread below has details of how I built an SPI library with guidance from the forum experts.
forums.parallax.com/discussion/157441/can-spi-in-simple-libraries-be-speeded-up/p3
Tom
Thanks.
Were you able to figure out the issue you were having? I'm having the same problem with a library of my own.
Thanks,
David
Not able to figure it out yet. I am letting it rest for a
while. Working on another part of the project.
Thanks
1. libxyz.c : contains the "unit test" code main() for the library and only uses the xyz_ functions.
2. xyz.c : contains the xyz_ functions (no main) and global data if any. (There can be more than 1 file)
3. xyz.h : contains the structure and other type definitions, forward function declarations, and documentation for the functions.
The library tutorial shows how to make these files in SimpleIDE and compile them into a library. When I made my libspiasm, I did not lose any files.
Tom