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.

7 thoughts on “Arduino Link Libraries

  1. 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.)

      1. one little trap there: the makefile is rather old (arduino-005 instead of 022) and looks for files that don’t exist anymore. further down the page is a link to a new version.

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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