Everything for Electronics

Libraries and Headers in C: A Tutorial
Nuts & Volts Magazine (February 2019)

Libraries and Headers in C: A Tutorial

By Jon Titus    View In Digital Edition  


If you’ve written a program for a microcontroller board such as the Arduino, Raspberry Pi, or Propeller QuickStart, you have relied on software libraries that provide constants and functions.  Often, we use software libraries without thinking much about them.

When you start to write libraries, it takes time to read documents, follow directions, and experiment with simple functions. Fortunately, after you understand how to create libraries and header files for the software tools you use, you'll have a useful skill that can simplify programming tasks.

Even if you never create a library, you probably want to know how they work and what they contain. This tutorial provides information that gives you a good start.

:::

Read This Article!
If you’re a subscriber and your subscription includes this issue of Nuts & Volts, you can read this article in our digital edition by clicking the blue icon in the upper right corner. Use the email address associated with your subscriber services account to login.

If you're a member of our Preferred Subscriber Network, not only will the magic blue icon let you read this article, but EVERY article in EVERY issue is yours to enjoy! Over a decades worth of content is stored in our digital archive!

If you’re not a subscriber, you can still view a few sample pages of our digital edition or subscribe here for full digital access and/or print delivery. Also, as you browse around our site, you will find selected articles have been posted in their entirety for you to enjoy.


Downloads

201902-Titus.zip

What’s in the zip?
Propeller library instructions.



Comments