Skip to content

Instantly share code, notes, and snippets.

@dwhacks

dwhacks/Morse.h

Created May 8, 2014
Embed
What would you like to do?
Arduino Morse library .h file
//
// 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
You can’t perform that action at this time.