How to create your own Arduino Library

David Such
Aug 8 · 18 min read

At some stage you are going to write some code that you want to package up as a library. This makes it easy for you and others to use the software, hides complexity and is a way to participate in the global maker community. There are a few exisiting guides about how to do this, we have focussed on material not covered by these beginner tutorials. A library is a collection of header (.h) and optional program (.cpp) files located in a single directory.

Sketch First