Arduino/Arduinomorse Library: Difference between revisions
From charlesreid1
No edit summary |
|||
| Line 15: | Line 15: | ||
==Step 3: Add arduinomorse library to Arduino Development Environment== | ==Step 3: Add arduinomorse library to Arduino Development Environment== | ||
Open your Arduino development environment, and pick Sketch > Include Library. | |||
[[Image:Arudinomorse1.png|500px]] | [[Image:Arudinomorse1.png|500px]] | ||
Revision as of 00:51, 19 July 2015
The first step is to download the arduinomorse library from GitHub: https://github.com/markfickett/arduinomorse
The second step is to zip up the resulting folder into a zip file, arduinomorse.zip.
The third step is to load this as a library in the Arduino development environment, which will add the relevant header files to somewhere where Arduino will find them when you #include them.
Step 1: Download
Download the arduinomorse repo by either cloning a copy (if you don't plan on modifying it) or forking a copy (if you do plan to modify it).
Step 2: Zip up the resulting folder
I used Mac to do this, I right-clicked on the arudinomorse/ directory that was created with my git clone command above, and picked "compress". This creates a zip file arduinomorse.zip that you can feed to the Arduino Development Environment.
Step 3: Add arduinomorse library to Arduino Development Environment
Open your Arduino development environment, and pick Sketch > Include Library.
Now we pick the zip file to add to Arduino's list of libraries:
Finally, it should show up in the external libraries menu, at the very bottom:
When you select the ArduinoMorse library, it will add a #include <morse.h> to your header: