Go Down

Topic: Morse Library (non-blocking sending), Cyclocomp'r (Read 4037 times) previous topic - next topic

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() {
   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.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy