Arduino Link Libraries

Arduino is great, but it sometimes gets in the way due to its entry level style of doing things. One limitation is making your own library that also includes other libraries.[Scott] has sent in a great tutorial that deals with just that issue.

He covers how to make your own custom libraries while building off of preexisting ones. That’s¬†something Arduino’s automatic magic wont touch.He covers getting your library to compile while including aanother library, linking versus compiling, and getting it all linked up.

Add in clear examples, lots of explanation and a hand full of good practices for C with libraries (like Forward Class Declaration vs Includes, and Using Brackets vs Quotation Marks for Includes), and this is one tutorial that any aspiring AVR or Arduino developer should check out.


  1. Nice! Thanks for posting this :-D

  2. qwerty says:

    I like the Arduino but would like more being able to write applications for it in the old fashioned way: command line editor and compilers.
    Would anyone recommend some pointers to do that without losing its functionality? (ie. access to its libraries, etc.)

  3. Chad says:

    Found this in the arduino forum:

    The difference between and “” is where the compiler looks for header files. The “” means local (in the sketch folder). The is for library files (not in the sketch directory). Some compilers are not rigorous in enforcing this distinction.
    It was written by PaulS, arduino forum member.,69218.0.html

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

Join 97,541 other followers