Arduino library for automatically sending Morse code signals
Go to file
2023-02-07 11:39:42 -08:00
examples Initial commit 2023-02-05 18:55:55 -08:00
GPL-3.0 Initial commit 2023-02-05 18:55:55 -08:00
keywords.txt Initial commit 2023-02-05 18:55:55 -08:00 Add architectures field 2023-02-07 11:39:42 -08:00
LICENSE Initial commit 2023-02-05 18:55:55 -08:00 Add link 2023-02-05 18:57:51 -08:00
Telegraph.cpp Initial commit 2023-02-05 18:55:55 -08:00
Telegraph.h Initial commit 2023-02-05 18:55:55 -08:00


Arduino library for automatically sending Morse code signals. Manual control, speed adjustments, and use of active-on-low relays are supported.


Check the example sketches, especially Telegraph_Demo, for more information.


To create a Telegraph object, use the code:

Telegraph telegraphName(pinNumber, speedInWordsPerMinute, HIGH);

(Use LOW instead of HIGH for an active-on-low relay. If you're using a relay and aren't sure whether it's active-on-low or not, just try it with HIGH; if your relay is active-on-low, keying will be opposite of what is expected.)

Sending messages

To send a message in Morse code, run this:


The following characters can be used in messages:


Lowercase letters are supported. Unsupported characters will not be transmitted, but may cause gaps in timing.

Adjusting speed

To change the transmission speed after creating the Telegraph, run:

telegraphName.wpm = 25;

Manual control

To manually turn the pin on and off, just use these commands: