Pages: [1]   Go Down
Author Topic: How to build a library from the Arduino IDE?  (Read 531 times)
0 Members and 1 Guest are viewing this topic.
Netherlands
Offline Offline
Newbie
*
Karma: 0
Posts: 25
Robots rock
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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?

Thanks!
Logged

Visit my robotics blog at http://megabotblog.blogspot.com/

London
Offline Offline
Tesla Member
***
Karma: 10
Posts: 6250
Have fun!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
« Last Edit: December 23, 2007, 12:16:05 pm by mem » Logged

Netherlands
Offline Offline
Newbie
*
Karma: 0
Posts: 25
Robots rock
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks!
I could have figured out that one myself... smiley-razz
Logged

Visit my robotics blog at http://megabotblog.blogspot.com/

Pages: [1]   Go Up
Jump to: