Creating libraries for Arduino

arduino, c, c++, ide

Solution

The compiler supports the `#include` directive, you can write your library, then `#include` it. This is expanded on in this tutorial about writing libraries for the Arduino.

Problem

I want to write a library for my Arduino(header and class files), but I don't know what tools to use for this job and how to test and debug them. The Arduino IDE just helps in writing plain programs for direct bootloading, not full project management thing (correct me if I am wrong and guide appropriately with relevant references). Please help.

Original source