Go Down

Topic: How to build a library from the Arduino IDE? (Read 1 time) previous topic - next topic


I want to use the servo library in my Arduino project.
However I want to perform some minor modifications to the code of the library.
I noticed that when I use the 'Import Library' in the Arduino IDE, the library is rebuild.
However, this is only done the first time the library is imported.

So my question is, how can I rebuild a library?
Or if this not possible, how can I remove the 'imported library' such that I can trigger a build
by redoing the 'import library' operation?



Dec 23, 2007, 06:13 pm Last Edit: Dec 23, 2007, 06:16 pm by mem Reason: 1
delete the .o file in the directory you want the library rebuilt.
A new one will be generated when you recompile the sketch that includes the library.


I could have figured out that one myself... :P

Go Up