Arduino Forum

Forum 2005-2010 (read only) => Software => Development => Topic started by: markfickett on Jan 21, 2011, 09:55 pm

Title: Morse Library (non-blocking sending), Cyclocomp'r
Post by: markfickett on Jan 21, 2011, 09:55 pm
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 (

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

Code: [Select]
#define PIN_STATUS  13
LEDMorseSender sender(PIN_STATUS);
void setup() {
void loop() {
   // do other work, while you...

I wrote it for use in a cyclocomputer (trip meter, histogram of speeds over a ride) project, also on github (