Generate Morse Code for transmission on a digital I/O pin
Repo etherkit/MorseArduino, read from GitHub 6 h ago. etherkit has not joined Take My Repo.
Fixes Morse code being sent slower than the set speed, plus several memory-safety and interrupt-safety bugs.
{|}~, non-ASCII) are now skipped instead of sending garbage. Empty messages and reset() no longer send a stray character.send(), setWPM() and reset() are now safe to call while update() runs from a timer interrupt. tx, busy and cur_char are volatile.led_pin is configured as an output.reset() turns the output pin off. In DFCW mode, the carrier turns off when a message ends.setWPM() limits the speed to 0.01–1200 WPM instead of dividing by zero.library.json for PlatformIO (lib_deps = etherkit/Etherkit Morse).Morse class: use Morse::TX_BUFFER_SIZE, Morse::DEFAULT_WPM and so on. Sketches that used the old global names need updating.extras/test: run make to test on your computer, or make qemu to test on an emulated Cortex-M0 (the SAMD21's processor family).Fix bug in sending first character, correct keywords.txt
Minor bug and documentation fixes.
Initial release