January 2015
Beginner
324 pages
7h 42m
English
Our Telegraph class is complete, and we should now create some example sketches that actually use it. This is important for two reasons: we can test our library code, and for users of our class it’s good documentation for how to use it.
The Arduino IDE looks for libraries in two places: in its global libraries folder relative to its installation directory and in the user’s local sketchbook directory. During development, it’s best to use the local sketchbook directory. You can find its location in the IDE’s Preferences (see Figure 14, Find the sketchbook location in the Preferences). Create a new directory named libraries in the sketchbook directory.
Read now
Unlock full access