Arduino/Morse Library: Difference between revisions
From charlesreid1
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
This is a little more information on the W5OBM Morse library, from the Arduino Ham Radio book. | This is a little more information on the W5OBM Morse library, from the Arduino Ham Radio book. | ||
http://www.w5obm.us | http://www.w5obm.us/Arduino/index.html | ||
=Installing= | |||
==Download== | |||
To install the W5OBM Morse library, download the directory containing the C code for the Morse library ([http://www.w5obm.us/Arduino/Arduino%20for%20Ham%20Radio%20Book/Customized%20Libraries/Morse/ link to the code]). | |||
==Making a Zip File== | |||
Create a zip file from this directory, which will be called <code>Morse.zip</code> | |||
Morse.zip will contain a folder called <code>Morse/</code> | |||
The folder Morse will contain a file called <code>Morse.h</code> | |||
==Loading Library in Arduino== | |||
Now you can load the library into Arduino using the zip file you've just created. | |||
Open the Arduino Development Environment, and pick Sketch > Include Library > Add .ZIP Library | |||
[[Image:Arduinomorse1.png|500px]] | |||
Navigate to the zip file Morse.zip and pick it. The menu and window should close. | |||
==Using the Library in Arduino== | |||
When you re-open the Sketch > Include Library menu, you should see the library you added at the very bottom. | |||
[[Category:Arduino]] | [[Category:Arduino]] | ||
[[Category:Ham Radio]] | [[Category:Ham Radio]] | ||
Revision as of 23:26, 19 July 2015
This is a little more information on the W5OBM Morse library, from the Arduino Ham Radio book.
http://www.w5obm.us/Arduino/index.html
Installing
Download
To install the W5OBM Morse library, download the directory containing the C code for the Morse library (link to the code).
Making a Zip File
Create a zip file from this directory, which will be called Morse.zip
Morse.zip will contain a folder called Morse/
The folder Morse will contain a file called Morse.h
Loading Library in Arduino
Now you can load the library into Arduino using the zip file you've just created.
Open the Arduino Development Environment, and pick Sketch > Include Library > Add .ZIP Library
Navigate to the zip file Morse.zip and pick it. The menu and window should close.
Using the Library in Arduino
When you re-open the Sketch > Include Library menu, you should see the library you added at the very bottom.