Created
May 8, 2014 03:48
-
-
Save dwhacks/6ac30f3687f6bd114acf to your computer and use it in GitHub Desktop.
Arduino Morse library .h file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Arduino Morse Library | |
| // Written by Erik Linder SM0RVV and Mark VandeWettering K6HX | |
| // | |
| // Put this file with Morse.cpp inside a folder "Morse" in your "libraries" folder within your sketchbook folder. | |
| // /your_sketch_folder/libraries/Morse | |
| // Then restart the arduino software. | |
| // | |
| // Released 2011 under GPLv3 | |
| // | |
| // Version 0.2 | |
| // | |
| ` | |
| #ifndef Morse_h | |
| #define Morse_h | |
| #include "Arduino.h" | |
| class Morse | |
| { | |
| public: | |
| Morse(byte pin, byte speed, byte beep); | |
| void sendmsg(char *str); | |
| void send(char c); | |
| private: | |
| void dash(); | |
| void dit(); | |
| void bdash(); | |
| void bdit(); | |
| }; | |
| #endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment