Arduino/Arduinomorse Library: Difference between revisions
From charlesreid1
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
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 <code>#include</code> them. | 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 <code>#include</code> 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 <code>arudinomorse/</code> 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== | |||
[[Image:Arudinomorse1.png|500px]] | |||
Now we pick the zip file to add to Arduino's list of libraries: | |||
[[Image:Arudinomorse2.png|500px]] | |||
Finally, it should show up in the external libraries menu, at the very bottom: | |||
[[Image:Arudinomorse3.png|500px]] | |||
When you select the ArduinoMorse library, it will add a <code>#include <morse.h></code> to your header: | |||
[[Image:Arduinomorse4.png|500px]] | |||
[[Category:Arduino]] | [[Category:Arduino]] | ||
[[Category:Ham Radio]] | [[Category:Ham Radio]] | ||
Revision as of 00:49, 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
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: