# Morse Library (non-blocking sending), Cyclocomp'r

**URL:** <https://forum.arduino.cc/t/morse-library-non-blocking-sending-cyclocompr/38244>\
**Category:** Development\
**Created:** [January 21, 2011, 8:55pm UTC](https://forum.arduino.cc/t/morse-library-non-blocking-sending-cyclocompr/38244 "2011-01-21T20:55:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [January 21, 2011, 8:55pm UTC](https://forum.arduino.cc/t/morse-library-non-blocking-sending-cyclocompr/38244/1 "2011-01-21T20:55:24Z")

</div>

I wrote a Morse library, the key feature of which (to differentiate it from the many others) is that it doesn't block while sending; for example, you can check on a sensor value while a long message is being played on a speaker. [On github](https://github.com/markfickett/arduinomorse).

In ultra-brief, you can use it like this:

```arduino
#define PIN_STATUS  13
LEDMorseSender sender(PIN_STATUS);
void setup() {
    sender.setup();
    sender.startSending();
}
void loop() {
    // do other work, while you...
    sender.continueSending();
}

```

I wrote it for use in a cyclocomputer (trip meter, histogram of speeds over a ride) project, [also on github](https://github.com/markfickett/bicycle).

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [May 6, 2021, 7:54pm UTC](https://forum.arduino.cc/t/morse-library-non-blocking-sending-cyclocompr/38244/2 "2021-05-06T19:54:57Z")

</div>

Closed on May 6, 2021, 7:54pm UTC


